class_docstr: A base class of GridSpec that specifies the geometry of the grid
  that a subplot will be placed.
class_docstr_tok: ["A","base","class","of","GridSpec","that","specifies","the","geometry","of","the","grid","that","a","subplot","will","be","placed","."]
docstr: Return a tuple containing the number of rows and columns in the grid.
docstr_tok: ["Return","a","tuple","containing","the","number","of","rows","and","columns","in","the","grid","."]
code: def get_geometry(self):
      """
      Return a tuple containing the number of rows and columns in the grid.
      """
      return self._nrows, self._ncols
  
imports: import copy
  import logging
  from numbers import Integral
  import numpy
  import matplotlib
  from matplotlib import _api, _pylab_helpers, _tight_layout
  from matplotlib.transforms import Bbox
label_desc: Use image node_id 3 for calling the GridSpecBase obj's underlying member method code with example usage: obj.get_geometry() and returns: self,  self