1plt.annotate(label, # this is the text
2 (x,y), # this is the point to label
3 textcoords="offset points", # how to position the text
4 xytext=(0,10), # distance from text to points (x,y)
5 ha='center')