code: def floatingaxes_class_factory(axes_class):
      new_class = _floatingaxes_classes.get(axes_class)
      if new_class is None:
          new_class = type(
              str("Floating %s" % (axes_class.__name__)),
              (FloatingAxesBase, axes_class),
              {"_axes_class_floating": axes_class},
          )
          _floatingaxes_classes[axes_class] = new_class
  
      return new_class
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from six.moves import zip
  import numpy
  from matplotlib.transforms import Affine2D, IdentityTransform
  from .None import grid_helper_curvelinear
  from .axislines import AxisArtistHelper, GridHelperBase
  from .axis_artist import AxisArtist
  from .grid_finder import GridFinder
  from .grid_finder import ExtremeFinderSimple
  from .axislines import Axes
  from mpl_toolkits.axes_grid1.parasite_axes import host_axes_class_factory
  import matplotlib.axes
label_desc: Use image node_id 1 for calling a global function with example usage: floatingaxes_class_factory(axes_class) and returns: new_class