MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_topmost_subplotspec

Method get_topmost_subplotspec

lib/matplotlib/gridspec.py:674–682  ·  view source on GitHub ↗

Return the topmost `SubplotSpec` instance associated with the subplot.

(self)

Source from the content-addressed store, hash-verified

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 """

Callers 4

updateMethod · 0.45
get_subplotspec_listFunction · 0.45

Calls 1

get_gridspecMethod · 0.95

Tested by

no test coverage detected