Return the topmost `SubplotSpec` instance associated with the subplot.
(self)
| 672 | return Bbox.from_extents(fig_left, fig_bottom, fig_right, fig_top) |
| 673 | |
| 674 | def get_topmost_subplotspec(self): |
| 675 | """ |
| 676 | Return the topmost `SubplotSpec` instance associated with the subplot. |
| 677 | """ |
| 678 | gridspec = self.get_gridspec() |
| 679 | if hasattr(gridspec, "get_topmost_subplotspec"): |
| 680 | return gridspec.get_topmost_subplotspec() |
| 681 | else: |
| 682 | return self |
| 683 | |
| 684 | def __eq__(self, other): |
| 685 | """ |
no test coverage detected