# Figures and Axes: How matplotlib Draws

matplotlib draws every chart on a Figure, the sheet of paper that gets saved, inside an Axes, the one chart on that sheet, so a chart starts with fig, ax = plt.subplots(), draws with ax.plot, is labeled with set_title, set_xlabel and set_ylabel, and is saved with fig.savefig.

![Cheat sheet: Figures and Axes: How matplotlib Draws](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/a61f3d4cc14245a19f23b8117081df10.webp)

- Category: Data Analysis
- Level: Apprentice
- Tags: &lt;figure>, Axes, matplotlib, python, savefig()
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/data-matplotlib-figure-and-axes-cheat-sheet
