Note
Click here to download the full example code
This example shows how to annotate a plot with an arrow pointing to provided coordinates. We modify the defaults of the arrow, to "shrink" it.
For a complete overview of the annotation capabilities, also see the annotation tutorial.
The use of the following functions, methods, classes and modules is shown in this example:
import matplotlib
matplotlib.axes.Axes.annotate
matplotlib.pyplot.annotate
Out:
<function annotate at 0x7f18a5a694c0>
Keywords: matplotlib code example, codex, python plot, pyplot Gallery generated by Sphinx-Gallery