matplotlib.pyplot.close
-
matplotlib.pyplot.close(*args)
-
Close a figure window.
close()
by itself closes the current figureclose(h)
where h is aFigure
instance, closes that figureclose(num)
closes figure number numclose(name)
where name is a string, closes figure with that labelclose('all')
closes all the figure windows
Examples using matplotlib.pyplot.close
© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/_as_gen/matplotlib.pyplot.close.html