12.3 Using pyplot to create a scatter plot
The matplotlib project has an immense variety of graph and plot types that it can produce. It is extremely sophisticated, which makes it challenging to use for some kinds of analysis.
A particularly useful subset of features is collected in a sub-package called pyplot. This group of features reflects some common assumptions and optimizations that work out very nicely when working in Jupyter Lab. In other contexts, these assumptions are often limiting.
To make things easier, the pyplot package will automatically manage the figure being created. It will track any sub-plots that fill in the picture. It will track the various axes and artists that comprise those subplots.
For more information, see Parts of a Figure in the matplotlib tutorial. This diagram identifies the various elements of a figure and what parts of matplotlib are used to create or control those elements.
In the Ingesting data into a notebook...