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","."]
code: def append_size(self, position, size):
      _api.check_in_list(
          ["left", "right", "bottom", "top"], position=position
      )
      if position == "left":
          self._horizontal.insert(0, size)
          self._xrefindex += 1
      elif position == "right":
          self._horizontal.append(size)
      elif position == "bottom":
          self._vertical.insert(0, size)
          self._yrefindex += 1
      else:  # 'top'
          self._vertical.append(size)
  
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 23 for calling the Divider obj's underlying member method code with example usage: obj.append_size(position, size) without return types