Return the `.Figure` or `.SubFigure` instance the artist belongs to. Parameters ---------- root : bool, default=False If False, return the (Sub)Figure this artist is on. If True, return the root Figure for a nested tree of SubFigures.
(self, root=False)
| 750 | return self._path_effects |
| 751 | |
| 752 | def get_figure(self, root=False): |
| 753 | """ |
| 754 | Return the `.Figure` or `.SubFigure` instance the artist belongs to. |
| 755 | |
| 756 | Parameters |
| 757 | ---------- |
| 758 | root : bool, default=False |
| 759 | If False, return the (Sub)Figure this artist is on. If True, |
| 760 | return the root Figure for a nested tree of SubFigures. |
| 761 | """ |
| 762 | if root and self._parent_figure is not None: |
| 763 | return self._parent_figure.get_figure(root=True) |
| 764 | |
| 765 | return self._parent_figure |
| 766 | |
| 767 | def set_figure(self, fig): |
| 768 | """ |
no outgoing calls