Аннотации были сделаны с помощью annotate():
Код: Выделить всё
matplotlib.pyplot.annotate(text, xy, xytext=None, xycoords='data', textcoords=None, arrowprops=None, annotation_clip=None, **kwargs)
Код: Выделить всё
**kwargs
Additional kwargs are passed to Text.
Документация
Подробнее здесь: https://stackoverflow.com/questions/790 ... m-annotate