matplotlib.pyplot.figure — Matplotlib 3.1.0 documentation
Parameters: num: integer or string, optional, default: None. If not provided, a new figure will be created, and the figure number will be incremented. The figure objects holds this number in a number attribute. If num is provided, and a figure with this id already exists, make it active, and returns a reference to it.