matplotlib.artist.Artist.get_figure#

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

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

参数:
bool, 默认=False

如果为 False,返回该艺术家所在的 (子) 图。如果为 True,返回子图嵌套树的根图。