How matplotlib Draws

How matplotlib Draws: Figures and Axes: How matplotlib Draws.

Updated

  1. Figures and Axes: How matplotlib Draws (Apprentice): 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.