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: get the geometry of the grid, e.g., 2,3
docstr_tok: ["get","the","geometry","of","the","grid",",","e.g.",",","2,3"]
code: def get_geometry(self):
      "get the geometry of the grid, e.g., 2,3"
      return self._nrows, self._ncols
  
imports: from __future__ import absolute_import, division, print_function
  import six
  import copy
  import logging
  import warnings
  import numpy
  import matplotlib
  from matplotlib import _pylab_helpers, tight_layout, rcParams
  from matplotlib.transforms import Bbox
  import matplotlib._layoutbox
  from matplotlib.cbook import mplDeprecation
label_desc: Use image node_id 2 for calling the GridSpecBase obj's underlying member method code with example usage: obj.get_geometry() and returns: self,  self