matplotlib.pyplot.close — Matplotlib 2.1.0 documentation (original) (raw)
matplotlib.pyplot.
close
(*args)¶
Close a figure window.
close()
by itself closes the current figure
close(h)
where h is a Figure
instance, closes that figure
close(num)
closes figure number num
close(name)
where name is a string, closes figure with that label
close('all')
closes all the figure windows
Examples using matplotlib.pyplot.close
¶
© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2017 The Matplotlib development team. Last updated on Oct 13, 2017. Created using Sphinx 1.6.3.