matplotlib.artist.Artist.get_figure#

Artist.get_figure(root=False)[源码]#

返回艺术家所属的 FigureSubFigure 实例。

参数:
rootbool, 默认为 False

如果为 False,则返回此 artist 所处的(子)图形。如果为 True,则返回嵌套 SubFigures 树的根 Figure。