Concept Flow - Axes vs pyplot interface comparison
Start
Choose Interface
pyplot Interface
Use plt.plot()
Figure & Axes auto-created
Show plot with plt.show()
Axes Interface
Create Figure & Axes explicitly
Use ax.plot() on Axes object
Show plot with plt.show()
You start by choosing either pyplot or Axes interface. Pyplot auto-creates figure and axes, while Axes requires explicit creation. Both end with showing the plot.