Note
Click here to download the full example code
Traceback (most recent call last):
File "/build/matplotlib-tq5J6U/matplotlib-3.1.2/examples/text_labels_and_annotations/arrow_simple_demo.py", line 1
=================
^
SyntaxError: invalid syntax
=================
Arrow Simple Demo
=================
"""
import matplotlib.pyplot as plt
ax = plt.axes()
ax.arrow(0, 0, 0.5, 0.5, head_width=0.05, head_length=0.1, fc='k', ec='k')
plt.show()
Keywords: matplotlib code example, codex, python plot, pyplot Gallery generated by Sphinx-Gallery