class_docstr: A class that specifies the geometry of the grid that a subplot
  will be placed. The location of grid is determined by similar way
  as the SubplotParams.
class_docstr_tok: ["A","class","that","specifies","the","geometry","of","the","grid","that","a","subplot","will","be","placed",".","The","location","of","grid","is","determined","by","similar","way","as","the","SubplotParams","."]
docstr: Update the current values.  If any kwarg is None, default to
  the current value, if set, otherwise to rc.
docstr_tok: ["Update","the","current","values",".","If","any","kwarg","is","None",",","default","to","the","current","value",",","if","set",",","otherwise","to","rc","."]
code: def update(self, **kwargs):
      """
      Update the current values.  If any kwarg is None, default to
      the current value, if set, otherwise to rc.
      """
  
      for k, v in six.iteritems(kwargs):
          if k in self._AllowedKeys:
              setattr(self, k, v)
          else:
              raise AttributeError("%s is unknown keyword" % (k,))
  
      for figmanager in six.itervalues(_pylab_helpers.Gcf.figs):
          for ax in figmanager.canvas.figure.axes:
              # copied from Figure.subplots_adjust
              if not isinstance(ax, mpl.axes.SubplotBase):
                  # Check if sharing a subplots axis
                  if isinstance(ax._sharex, mpl.axes.SubplotBase):
                      if (
                          ax._sharex.get_subplotspec().get_gridspec()
                          == self
                      ):
                          ax._sharex.update_params()
                          ax._set_position(ax._sharex.figbox)
                  elif isinstance(ax._sharey, mpl.axes.SubplotBase):
                      if (
                          ax._sharey.get_subplotspec().get_gridspec()
                          == self
                      ):
                          ax._sharey.update_params()
                          ax._set_position(ax._sharey.figbox)
              else:
                  ss = ax.get_subplotspec().get_topmost_subplotspec()
                  if ss.get_gridspec() == self:
                      ax.update_params()
                      ax._set_position(ax.figbox)
  
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 4 for calling the GridSpec obj's underlying member method code with example usage: obj.update() without return types