Close a figure window.
Figure
The figure to close. There are a number of ways to specify this:
int
str
matplotlib.pyplot.close
Pong
Multipage PDF
Multiprocessing
Tight layout guide
© 2012–2023 Matplotlib Development Team. All rights reserved.Licensed under the Matplotlib License Agreement. https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.close.html