matplotlib.figure.Figure.get_axes#

Figure.get_axes()[source]#

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

Do not modify the list itself. Instead, useadd_axes,add_subplot ordelaxes to add or remove an Axes.

Note: TheFigure.axes property andget_axes method areequivalent.

Examples usingmatplotlib.figure.Figure.get_axes#

Create multiple subplots using plt.subplots

Create multiple subplots using plt.subplots

Arranging multiple Axes in a Figure

Arranging multiple Axes in a Figure