text matplotlib.text Classes for including text in a figure.
class matplotlib.text.Annotation(s, xy, xytext=None, xycoords='data', textcoords=None, arrowprops=None, annotation_clip=None, **kwargs)
Bases: matplotlib.text.Text, matplotlib.text._AnnotationBase Annotate the point xy with text s. Additional kwargs are passed to Text. Parameters:
s : str The text of the annotation xy : iterable Length 2 sequence specifying the (x,y) point to annotate xytext : iterable, optional Length 2 seq