You are reading an old version of the documentation (v3.0.2). For the latest version see https://matplotlib.org/stable/gallery/text_labels_and_annotations/arrow_simple_demo.html
Version 3.0.2
matplotlib
Fork me on GitHub

Related Topics

Arrow Simple DemoΒΆ

../../_images/sphx_glr_arrow_simple_demo_001.png
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