code: def draw_ellipse(ax):
      """Draw an ellipse of width=0.1, height=0.15 in data coordinates."""
      aux_tr_box = AuxTransformBox(ax.transData)
      aux_tr_box.add_artist(Ellipse((0, 0), width=0.1, height=0.15))
      box = AnchoredOffsetbox(
          child=aux_tr_box, loc="lower left", frameon=True
      )
      ax.add_artist(box)
  
file_path: matplotlib/galleries/examples/misc/anchored_artists.py
imports: from matplotlib import pyplot
  from matplotlib.lines import Line2D
  from matplotlib.offsetbox import AnchoredOffsetbox, AuxTransformBox, DrawingArea, TextArea, VPacker
  from matplotlib.patches import Circle, Ellipse
label_desc: Use image node_id 3 for calling a global function with example usage: draw_ellipse(ax) without return types