Sent from the matplotlib - users mailing list archive at Nabble.com.
#~~~
import matplotlib.pyplot as plt
from matplotlib import patches
arr = patches.Arrow(0,0,1,1)
ax = plt.gca()
ax.add_patch(arr)
plt.show()
#~~~
When you create a Matplotlib artist (here a Patch artist) with pyplot (e.g. plt.plot creates a Line2D instance), pyplot takes care of matching artist with axes. Artists themselves don’t know anything about where you’re plotting, so you have to tell it where to go.