matplotlib.artist.Artist.get_figure# Artist.get_figure(root=False)[source]# Return the Figure or SubFigure instance the artist belongs to. Parameters: rootbool, default=FalseIf False, return the (Sub)Figure this artist is on. If True, return the root Figure for a nested tree of SubFigures.