code: def annotate(x, y, text, code):
      # Circle marker
      c = Circle(
          (x, y),
          radius=0.15,
          clip_on=False,
          zorder=10,
          linewidth=2.5,
          edgecolor=royal_blue + [0.6],
          facecolor="none",
          path_effects=[withStroke(linewidth=7, foreground="white")],
      )
      ax.add_artist(c)
  
      # use path_effects as a background for the texts
      # draw the path_effects and the colored text separately so that the
      # path_effects cannot clip other texts
      for path_effects in [
          [withStroke(linewidth=7, foreground="white")],
          [],
      ]:
          color = "white" if path_effects else royal_blue
          ax.text(
              x,
              y - 0.2,
              text,
              zorder=100,
              ha="center",
              va="top",
              weight="bold",
              color=color,
              style="italic",
              fontfamily="monospace",
              path_effects=path_effects,
          )
  
          color = "white" if path_effects else "black"
          ax.text(
              x,
              y - 0.33,
              code,
              zorder=100,
              ha="center",
              va="top",
              weight="normal",
              color=color,
              fontfamily="monospace",
              fontsize="medium",
              path_effects=path_effects,
          )
  
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.patches import Circle
  from matplotlib.patheffects import withStroke
  from matplotlib.ticker import AutoMinorLocator, MultipleLocator
label_desc: Use image node_id 1 for calling a global function with example usage: annotate(x, y, text, code) without return types