Базовый пример:
Код: Выделить всё
import matplotlib.pyplot as plt
plt.annotate('Here it is!',xy=(-1,-1),xytext=(0,0),
arrowprops=dict(arrowstyle='->',lw=1.5))
plt.xlim(-10,10)
plt.ylim(-10,10)
plt.show()

Подробнее здесь: https://stackoverflow.com/questions/233 ... e-function