Glossary
This glossary defines concepts and terminology specific to Matplotlib.
- Figure
The outermost container for a Matplotlib graphic. Think of this as the canvas to draw on.
This is implemented in the class
Figure. For more details see Introduction to Figures.- Axes
This is a container for what is often colloquially called a plot/chart/graph. It's a data area with Axises, i.e. coordinate directions, and includes data artists like lines, bars etc. as well as decorations like title, axis labels, legend.
Since most "plotting operations" are realized as methods on
Axesthis is the object users will mostly interact with.