code: def create_text_axes(fig, height_px):
      """Create an Axes in *fig* that contains 'matplotlib' as Text."""
      ax = fig.add_axes((0, 0, 1, 1))
      ax.set_aspect("equal")
      ax.set_axis_off()
  
      path = TextPath(
          (0, 0),
          "matplotlib",
          size=height_px * 0.8,
          prop=get_font_properties(),
      )
  
      angle = 4.25  # degrees
      trans = mtrans.Affine2D().skew_deg(angle, 0)
  
      patch = PathPatch(
          path, transform=trans + ax.transData, color=MPL_BLUE, lw=0
      )
      ax.add_patch(patch)
      ax.autoscale()
  
file_path: matplotlib/galleries/examples/misc/logos2.py
imports: import matplotlib.pyplot
  import numpy
  import matplotlib.cm
  import matplotlib.font_manager
  from matplotlib.patches import PathPatch, Rectangle
  from matplotlib.text import TextPath
  import matplotlib.transforms
label_desc: Use image node_id 3 for calling a global function with example usage: create_text_axes(fig, height_px) without return types