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

Related Topics

This Page

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()

Gallery generated by Sphinx-Gallery