class_docstr: The Divider class whose rectangle area is specified as a subplot geometry.
class_docstr_tok: ["The","Divider","class","whose","rectangle","area","is","specified","as","a","subplot","geometry","."]
docstr: Parameters
  ----------
  fig : `~matplotlib.figure.Figure`
  
  *args : tuple (*nrows*, *ncols*, *index*) or int
      The array of subplots in the figure has dimensions ``(nrows,
      ncols)``, and *index* is the index of the subplot being created.
      *index* starts at 1 in the upper left corner and increases to the
      right.
  
      If *nrows*, *ncols*, and *index* are all single digit numbers, then
      *args* can be passed as a single 3-digit number (e.g. 234 for
      (2, 3, 4)).
  horizontal : list of :mod:`~mpl_toolkits.axes_grid1.axes_size`, optional
      Sizes for horizontal division.
  vertical : list of :mod:`~mpl_toolkits.axes_grid1.axes_size`, optional
      Sizes for vertical division.
  aspect : bool, optional
      Whether overall rectangular area is reduced so that the relative
      part of the horizontal and vertical scales have the same scale.
  anchor : (float, float) or {'C', 'SW', 'S', 'SE', 'E', 'NE', 'N', 'NW', 'W'}, default: 'C'
      Placement of the reduced rectangle, when *aspect* is True.
docstr_tok: ["Parameters","--","--","--","--","--","fig",":","`","~matplotlib.figure.Figure","`","*","args",":","tuple","(","*","nrows","*",",","*","ncols","*",",","*","index","*",")","or","int","The","array","of","subplots","in","the","figure","has","dimensions","``","(","nrows",",","ncols",")","``",",","and","*","index","*","is","the","index","of","the","subplot","being","created",".","*","index","*","starts","at","1","in","the","upper","left","corner","and","increases","to","the","right",".","If","*","nrows","*",",","*","ncols","*",",","and","*","index","*","are","all","single","digit","numbers",",","then","*","args","*","can","be","passed","as","a","single","3-digit","number","(","e.g",".","234","for","(","2",",","3",",","4",")",")",".","horizontal",":","list","of",":","mod",":","`","~mpl_toolkits.axes_grid1.axes_size","`",",","optional","Sizes","for","horizontal","division",".","vertical",":","list","of",":","mod",":","`","~mpl_toolkits.axes_grid1.axes_size","`",",","optional","Sizes","for","vertical","division",".","aspect",":","bool",",","optional","Whether","overall","rectangular","area","is","reduced","so","that","the","relative","part","of","the","horizontal","and","vertical","scales","have","the","same","scale",".","anchor",":","(","float",",","float",")","or","{","'","C","'",",","'SW","'",",","'S","'",",","'SE","'",",","'","E","'",",","'NE","'",",","'N","'",",","'NW","'",",","'","W","'","}",",","default",":","'","C'","Placement","of","the","reduced","rectangle",",","when","*","aspect","*","is","True","."]
code: def __init__(
      self,
      fig,
      *args,
      horizontal=None,
      vertical=None,
      aspect=None,
      anchor="C",
  ):
      """
          Parameters
          ----------
          fig : `~matplotlib.figure.Figure`
  
          *args : tuple (*nrows*, *ncols*, *index*) or int
              The array of subplots in the figure has dimensions ``(nrows,
              ncols)``, and *index* is the index of the subplot being created.
              *index* starts at 1 in the upper left corner and increases to the
              right.
  
              If *nrows*, *ncols*, and *index* are all single digit numbers, then
              *args* can be passed as a single 3-digit number (e.g. 234 for
              (2, 3, 4)).
          horizontal : list of :mod:`~mpl_toolkits.axes_grid1.axes_size`, optional
              Sizes for horizontal division.
          vertical : list of :mod:`~mpl_toolkits.axes_grid1.axes_size`, optional
              Sizes for vertical division.
          aspect : bool, optional
              Whether overall rectangular area is reduced so that the relative
              part of the horizontal and vertical scales have the same scale.
          anchor : (float, float) or {'C', 'SW', 'S', 'SE', 'E', 'NE', 'N', \
  'NW', 'W'}, default: 'C'
              Placement of the reduced rectangle, when *aspect* is True.
          """
      self.figure = fig
      super().__init__(
          fig,
          [0, 0, 1, 1],
          horizontal=horizontal or [],
          vertical=vertical or [],
          aspect=aspect,
          anchor=anchor,
      )
      self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
  
imports: import functools
  import numpy
  import matplotlib
  from matplotlib import _api
  from matplotlib.gridspec import SubplotSpec
  import matplotlib.transforms
  from .None import axes_size
label_desc: Use image node_id 1 to create a new SubplotDivider object from inherited base classes: Divider with example: obj = SubplotDivider(fig)