matplotlib.pyplot.close
matplotlib.pyplot.
close
Close a figure window.
fig : None or int or str or Figure
Figure
The figure to close. There are a number of ways to specify this: None: the current figure Figure: the given Figure instance int: a figure number str: a figure name 'all': all figures
The figure to close. There are a number of ways to specify this:
int
str
Subplots Demo
Pipong
Multipage PDF
Multiprocess
Tight Layout guide