MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / get_geometry

Method get_geometry

site-packages/matplotlib/gridspec.py:453–461  ·  view source on GitHub ↗

Get the subplot geometry (``n_rows, n_cols, start, stop``). start and stop are the index of the start and stop of the subplot.

(self)

Source from the content-addressed store, hash-verified

451 return self._gridspec
452
453 def get_geometry(self):
454 """
455 Get the subplot geometry (``n_rows, n_cols, start, stop``).
456
457 start and stop are the index of the start and stop of the
458 subplot.
459 """
460 rows, cols = self.get_gridspec().get_geometry()
461 return rows, cols, self.num1, self.num2
462
463 def get_rows_columns(self):
464 """

Callers 7

_align_spinesFunction · 0.45
_arrange_subplotspecsFunction · 0.45
get_rows_columnsMethod · 0.45
get_positionMethod · 0.45
get_tight_layout_figureFunction · 0.45

Calls 1

get_gridspecMethod · 0.95

Tested by

no test coverage detected