On this page
matplotlib.gridspec#
gridspec contains classes that help to layout multiple
Axes in a grid-like pattern within a figure.
The GridSpec specifies the overall grid structure. Individual cells within
the grid are referenced by SubplotSpecs.
Often, users need not access this module directly, and can use higher-level
methods like subplots, subplot_mosaic and
subfigures. See the tutorial
Arranging multiple Axes in a Figure for a guide.
Classes#
You are reading an old version of the documentation (v3.5.3). For the latest version see https://matplotlib.org/stable/api/gridspec_api.html
