class_docstr: An Axes positioning class.
  
  The divider is initialized with lists of horizontal and vertical sizes
  (:mod:`mpl_toolkits.axes_grid1.axes_size`) based on which a given
  rectangular area will be divided.
  
  The `new_locator` method then creates a callable object
  that can be used as the *axes_locator* of the axes.
class_docstr_tok: ["An","Axes","positioning","class",".","The","divider","is","initialized","with","lists","of","horizontal","and","vertical","sizes","(",":","mod",":","`","mpl_toolkits.axes_grid1.axes_size","`",")","based","on","which","a","given","rectangular","area","will","be","divided",".","The","`","new_locator","`","method","then","creates","a","callable","object","that","can","be","used","as","the","*","axes_locator","*","of","the","axes","."]
docstr: Add auto-adjustable padding around *use_axes* to take their decorations
  (title, labels, ticks, ticklabels) into account during layout.
  
  Parameters
  ----------
  use_axes : `~matplotlib.axes.Axes` or list of `~matplotlib.axes.Axes`
      The Axes whose decorations are taken into account.
  pad : float, default: 0.1
      Additional padding in inches.
  adjust_dirs : list of {"left", "right", "bottom", "top"}, optional
      The sides where padding is added; defaults to all four sides.
docstr_tok: ["Add","auto-adjustable","padding","around","*","use_axes","*","to","take","their","decorations","(","title",",","labels",",","ticks",",","ticklabels",")","into","account","during","layout",".","Parameters","--","--","--","--","--","use_axes",":","`","~matplotlib.axes.Axes","`","or","list","of","`","~matplotlib.axes.Axes","`","The","Axes","whose","decorations","are","taken","into","account",".","pad",":","float",",","default",":","0.1","Additional","padding","in","inches",".","adjust_dirs",":","list","of","{","``","left","''",",","``","right","''",",","``","bottom","''",",","``","top","''","}",",","optional","The","sides","where","padding","is","added",";","defaults","to","all","four","sides","."]
code: def add_auto_adjustable_area(
      self, use_axes, pad=0.1, adjust_dirs=None
  ):
      """
      Add auto-adjustable padding around *use_axes* to take their decorations
      (title, labels, ticks, ticklabels) into account during layout.
  
      Parameters
      ----------
      use_axes : `~matplotlib.axes.Axes` or list of `~matplotlib.axes.Axes`
          The Axes whose decorations are taken into account.
      pad : float, default: 0.1
          Additional padding in inches.
      adjust_dirs : list of {"left", "right", "bottom", "top"}, optional
          The sides where padding is added; defaults to all four sides.
      """
      if adjust_dirs is None:
          adjust_dirs = ["left", "right", "bottom", "top"]
      for d in adjust_dirs:
          self.append_size(
              d, Size._AxesDecorationsSize(use_axes, d) + pad
          )
  
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 24 for calling the Divider obj's underlying member method code with example usage: obj.add_auto_adjustable_area(use_axes, pad, adjust_dirs) without return types