matplotlib.figure.Figure.get_axes#

Figure.get_axes()[source]#

List of Axes in the Figure. You can access and modify the Axes in the Figure through this list.

Do not modify the list itself. Instead, use add_axes, add_subplot or delaxes to add or remove an Axes.

Note: The Figure.axes property and get_axes method are equivalent.

Examples using matplotlib.figure.Figure.get_axes#

Creating multiple subplots using plt.subplots

Creating multiple subplots using plt.subplots

Nested GridSpecs

Nested GridSpecs

Arranging multiple Axes in a Figure

Arranging multiple Axes in a Figure