code: def draw_arrow(ax, t, r):
      ax.annotate(
          "",
          xy=(0.5, 0.5 + r),
          xytext=(0.5, 0.5),
          size=30,
          arrowprops=dict(arrowstyle=t, fc="b", ec="k"),
      )
  
file_path: matplotlib/lib/matplotlib/tests/test_arrow_patches.py
imports: import pytest
  import platform
  import matplotlib.pyplot
  from matplotlib.testing.decorators import image_comparison
  import matplotlib.patches
label_desc: Use image node_id 1 for calling a global function with example usage: draw_arrow(ax, t, r) without return types