class_docstr: Divider based on the preexisting axes.
class_docstr_tok: ["Divider","based","on","the","preexisting","axes","."]
code: def _get_new_axes(self, *, axes_class=None, **kwargs):
      axes = self._axes
      if axes_class is None:
          axes_class = type(axes)
      return axes_class(
          axes.get_figure(), axes.get_position(original=True), **kwargs
      )
  
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 2 for calling the AxesDivider obj's underlying member method code with example usage: obj._get_new_axes() and returns: axes_class