matplotlib.figure.Figure.get_axes#
- Figure.get_axes()[source]#
Figure 中 Axes 对象的列表。您可以通过此列表访问和修改 Figure 中的 Axes 对象。
请勿直接修改此列表。相反,请使用
add_axes
、add_subplot
或delaxes
来添加或删除 Axes。注意:
Figure.axes
属性和get_axes
方法是等效的。
Figure 中 Axes 对象的列表。您可以通过此列表访问和修改 Figure 中的 Axes 对象。
请勿直接修改此列表。相反,请使用 add_axes
、add_subplot
或 delaxes
来添加或删除 Axes。
注意:Figure.axes
属性和 get_axes
方法是等效的。
matplotlib.figure.Figure.get_axes
的示例#