code: def ann(ax1, d):
      if plt.rcParams["text.usetex"]:
          d = d.replace("_", r"\_")
  
      ax1.annotate(
          d,
          (0.5, 1),
          (5, -5),
          xycoords="axes fraction",
          textcoords="offset points",
          va="top",
          ha="center",
      )
  
file_path: matplotlib/galleries/examples/axisartist/simple_axis_pad.py
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.projections import PolarAxes
  from matplotlib.transforms import Affine2D
  import mpl_toolkits.axisartist
  import mpl_toolkits.axisartist.angle_helper
  import mpl_toolkits.axisartist.grid_finder
  from mpl_toolkits.axisartist.grid_helper_curvelinear import GridHelperCurveLinear
label_desc: Use image node_id 4 for calling a global function with example usage: ann(ax1, d) without return types