RIP
Tutorial
Tags
Topics
Examples
eBooks
Download matplotlib (PDF)
matplotlib
Getting started with matplotlib
Awesome Book
Awesome Community
Awesome Course
Awesome Tutorial
Awesome YouTube
Animations and interactive plotting
Basic Plots
Boxplots
Boxplots
Closing a figure window
Closing a specific figure using plt.close()
Closing the current active figure using pyplot
Colormaps
Contour Maps
Coordinates Systems
Figures and Axes Objects
Grid Lines and Tick Marks
Histogram
Image manipulation
Integration with TeX/LaTeX
Legends
LogLog Graphing
Multiple Plots
Three-dimensional plots
matplotlib
Getting started with matplotlib
Awesome Book
Awesome Community
Awesome Course
Awesome Tutorial
Awesome YouTube
Animations and interactive plotting
Basic Plots
Boxplots
Boxplots
Closing a figure window
Closing a specific figure using plt.close()
Closing the current active figure using pyplot
Colormaps
Contour Maps
Coordinates Systems
Figures and Axes Objects
Grid Lines and Tick Marks
Histogram
Image manipulation
Integration with TeX/LaTeX
Legends
LogLog Graphing
Multiple Plots
Three-dimensional plots
matplotlib
Closing a figure window
Syntax
plt.close() # closes the current active figure
plt.close(fig) # closes the figure with handle 'fig'
plt.close(num) # closes the figure number 'num'
plt.close(name) # closes the figure with the label 'name'
plt.close('all') # closes all figures
Closing a figure window Related Examples
Closing a specific figure using plt.close()
Closing the current active figure using pyplot
PDF
- Download
matplotlib
for free
Previous
Next
This modified text is an extract of the original
Stack Overflow Documentation
created by following
contributors
and released under
CC BY-SA 3.0
This website is not affiliated with
Stack Overflow