code: def parasite_axes_auxtrans_class_factory(axes_class=None):
      if axes_class is None:
          parasite_axes_class = ParasiteAxes
      elif not issubclass(axes_class, ParasiteAxesBase):
          parasite_axes_class = parasite_axes_class_factory(axes_class)
      else:
          parasite_axes_class = axes_class
  
      new_class = _parasite_axes_auxtrans_classes.get(
          parasite_axes_class
      )
      if new_class is None:
          new_class = type(
              str(
                  "%sParasiteAuxTrans" % (parasite_axes_class.__name__)
              ),
              (ParasiteAxesAuxTransBase, parasite_axes_class),
              {
                  "_parasite_axes_class": parasite_axes_class,
                  "name": "parasite_axes",
              },
          )
          _parasite_axes_auxtrans_classes[
              parasite_axes_class
          ] = new_class
  
      return new_class
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from matplotlib import artist, collections, transforms, rcParams
  from matplotlib.axes import subplot_class_factory
  from matplotlib.transforms import Bbox
  from .mpl_axes import Axes
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: parasite_axes_auxtrans_class_factory(axes_class) and returns: new_class