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: Defaults are given by :rc:`figure.subplot.[name]`.
  
  Parameters
  ----------
  left : float
      The position of the left edge of the subplots,
      as a fraction of the figure width.
  right : float
      The position of the right edge of the subplots,
      as a fraction of the figure width.
  bottom : float
      The position of the bottom edge of the subplots,
      as a fraction of the figure height.
  top : float
      The position of the top edge of the subplots,
      as a fraction of the figure height.
  wspace : float
      The width of the padding between subplots,
      as a fraction of the average Axes width.
  hspace : float
      The height of the padding between subplots,
      as a fraction of the average Axes height.
code: def __init__(
      self,
      left=None,
      bottom=None,
      right=None,
      top=None,
      wspace=None,
      hspace=None,
  ):
      """
      Defaults are given by :rc:`figure.subplot.[name]`.
  
      Parameters
      ----------
      left : float
          The position of the left edge of the subplots,
          as a fraction of the figure width.
      right : float
          The position of the right edge of the subplots,
          as a fraction of the figure width.
      bottom : float
          The position of the bottom edge of the subplots,
          as a fraction of the figure height.
      top : float
          The position of the top edge of the subplots,
          as a fraction of the figure height.
      wspace : float
          The width of the padding between subplots,
          as a fraction of the average Axes width.
      hspace : float
          The height of the padding between subplots,
          as a fraction of the average Axes height.
      """
      for key in ["left", "bottom", "right", "top", "wspace", "hspace"]:
          setattr(self, key, mpl.rcParams[f"figure.subplot.{key}"])
      self.update(left, bottom, right, top, wspace, 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 1 to create a new SubplotParams object  with example: obj = SubplotParams(left, bottom, right, top, wspace, hspace)