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

Method get_gridspec

lib/matplotlib/axes/_base.py:851–853  ·  view source on GitHub ↗

Return the `.GridSpec` associated with the subplot, or None.

(self)

Source from the content-addressed store, hash-verified

849 self._set_position(subplotspec.get_position(self.get_figure(root=False)))
850
851 def get_gridspec(self):
852 """Return the `.GridSpec` associated with the subplot, or None."""
853 return self._subplotspec.get_gridspec() if self._subplotspec else None
854
855 def get_window_extent(self, renderer=None):
856 """

Calls

no outgoing calls

Tested by 4

test_get_gridspecFunction · 0.36
test_reused_gridspecFunction · 0.36