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
ordelaxes
to add or remove an Axes.Note: The
Figure.axes
property andget_axes
method are equivalent.
Examples using matplotlib.figure.Figure.get_axes
#
Create multiple subplots using plt.subplots
Create multiple subplots using plt.subplots
Nested GridSpecs
Arranging multiple Axes in a Figure
Arranging multiple Axes in a Figure