See pyplot.figure, pyplot.subplots, and pyplot.subplot_mosaic to create figures, and Axes API for the plotting methods on an Axes: 对于复杂的绘图, 建议使用显式的面向对象的 API, 尽管 pyplot 通常仍用于创建图形, 并且通常用于创建图形中的 Axes.
We can start in a Jupyter Notebook since notebooks are typically a good fit for data visualizations. But if you prefer to run this as a script, this is also OK. Let us create our first plot using ...