A basic Matplotlib figure is made up of multiple components common to different plot types. It will be useful to familiarize ourselves with the terminologies, as we will be using them frequently in plotting. To get you up to speed, we have prepared a glossary of these basic objects. For clearer illustration, here is a plot adapted from Matplotlib's official website that nicely highlights the anatomy of a typical Matplotlib figure:
Basic structure of a Matplotlib figure
Glossary of objects in a Matplotlib figure
- Figure: A figure is the whole plotting area that contains all plot elements. Multiple subplots may be tiled in grid within one figure.
- Subplot: A subplot is a subregion in a figure that contains all of the relevant...