class_docstr: Parameters defining the positioning of a subplots grid in a figure.
class_docstr_tok: ["Parameters","defining","the","positioning","of","a","subplots","grid","in","a","figure","."]
docstr: Update the dimensions of the passed parameters. *None* means unchanged.
code: def update(
      self,
      left=None,
      bottom=None,
      right=None,
      top=None,
      wspace=None,
      hspace=None,
  ):
      """
      Update the dimensions of the passed parameters. *None* means unchanged.
      """
      if (left if left is not None else self.left) >= (
          right if right is not None else self.right
      ):
          raise ValueError("left cannot be >= right")
      if (bottom if bottom is not None else self.bottom) >= (
          top if top is not None else self.top
      ):
          raise ValueError("bottom cannot be >= top")
      if left is not None:
          self.left = left
      if right is not None:
          self.right = right
      if bottom is not None:
          self.bottom = bottom
      if top is not None:
          self.top = top
      if wspace is not None:
          self.wspace = wspace
      if hspace is not None:
          self.hspace = hspace
  
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 2 for calling the SubplotParams obj's underlying member method code with example usage: obj.update(left, bottom, right, top, wspace, hspace) without return types