class_docstr: Specifies the location of the subplot in the given `GridSpec`.
      
class_docstr_tok: ["Specifies","the","location","of","the","subplot","in","the","given","`","GridSpec","`","."]
code: def __getstate__(self):
      state = self.__dict__
      try:
          state.pop("_layoutbox")
      except KeyError:
          pass
      return state
  
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 SubplotSpec obj's underlying member method code with example usage: obj.__getstate__() and returns: state