To give further explanation or guide readers to focus on certain remarkable details, annotations can be added to a figure. Matplotlib offers several modules to add text, arrows, and shapes that can be exploited.
Annotations
Adding text annotations
Annotations can be added easily by specifying the desired locations through some built-in functions in Matplotlib.
Adding text and arrows with axis.annotate
Matplotlib has an axis.annotate function that draws an arrow extending across specified x and y coordinates and adds a text label if a string is input. The...