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

Method get_geometry

lib/matplotlib/gridspec.py:75–79  ·  view source on GitHub ↗

Return a tuple containing the number of rows and columns in the grid.

(self)

Source from the content-addressed store, hash-verified

73 doc="The number of columns in the grid.")
74
75 def get_geometry(self):
76 """
77 Return a tuple containing the number of rows and columns in the grid.
78 """
79 return self._nrows, self._ncols
80
81 def get_subplot_params(self, figure=None):
82 # Must be implemented in subclasses

Callers 2

get_grid_positionsMethod · 0.95
__getitem__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected