code: def setup_axes1(fig, rect):
      """
      A simple one.
      """
      tr = Affine2D().scale(2, 1).rotate_deg(30)
  
      grid_helper = floating_axes.GridHelperCurveLinear(
          tr,
          extremes=(-0.5, 3.5, 0, 4),
          grid_locator1=MaxNLocator(nbins=4),
          grid_locator2=MaxNLocator(nbins=4),
      )
  
      ax1 = fig.add_subplot(
          rect,
          axes_class=floating_axes.FloatingAxes,
          grid_helper=grid_helper,
      )
      ax1.grid()
  
      aux_ax = ax1.get_aux_axes(tr)
  
      return ax1, aux_ax
  
file_path: matplotlib/galleries/examples/axisartist/demo_floating_axes.py
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.projections import PolarAxes
  from matplotlib.transforms import Affine2D
  import mpl_toolkits.axisartist.angle_helper
  import mpl_toolkits.axisartist.floating_axes
  from mpl_toolkits.axisartist.grid_finder import DictFormatter, FixedLocator, MaxNLocator
label_desc: Use image node_id 1 for calling a global function with example usage: setup_axes1(fig, rect) and returns: ax1,  aux_ax