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: Implementation of ``divider.new_locator().__call__``.
  
  Parameters
  ----------
  nx, nx1 : int
      Integers specifying the column-position of the cell. When *nx1* is
      None, a single *nx*-th column is specified. Otherwise, the
      location of columns spanning between *nx* to *nx1* (but excluding
      *nx1*-th column) is specified.
  ny, ny1 : int
      Same as *nx* and *nx1*, but for row positions.
  axes
  renderer
code: def locate(
      self, nx, ny, nx1=None, ny1=None, axes=None, renderer=None
  ):
      """
      Implementation of ``divider.new_locator().__call__``.
  
      Parameters
      ----------
      nx, nx1 : int
          Integers specifying the column-position of the cell. When *nx1* is
          None, a single *nx*-th column is specified. Otherwise, the
          location of columns spanning between *nx* to *nx1* (but excluding
          *nx1*-th column) is specified.
      ny, ny1 : int
          Same as *nx* and *nx1*, but for row positions.
      axes
      renderer
      """
      xref = self._xrefindex
      yref = self._yrefindex
      return self._locate(
          nx - xref,
          (nx + 1 if nx1 is None else nx1) - xref,
          ny - yref,
          (ny + 1 if ny1 is None else ny1) - yref,
          axes,
          renderer,
      )
  
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 21 for calling the Divider obj's underlying member method code with example usage: obj.locate(nx, ny, nx1, ny1, axes, renderer) and returns: self