Return a list of Artists typically used in `.Figure.get_tightbbox`.
(self)
| 1795 | return projection_class, kwargs |
| 1796 | |
| 1797 | def get_default_bbox_extra_artists(self): |
| 1798 | """ |
| 1799 | Return a list of Artists typically used in `.Figure.get_tightbbox`. |
| 1800 | """ |
| 1801 | bbox_artists = [artist for artist in self.get_children() |
| 1802 | if (artist.get_visible() and artist.get_in_layout())] |
| 1803 | for ax in self.axes: |
| 1804 | if ax.get_visible(): |
| 1805 | bbox_artists.extend(ax.get_default_bbox_extra_artists()) |
| 1806 | return bbox_artists |
| 1807 | |
| 1808 | def get_tightbbox(self, renderer=None, *, bbox_extra_artists=None): |
| 1809 | """ |
nothing calls this directly
no test coverage detected