Version 3.0.2
matplotlib

Related Topics

Arrow Simple DemoΒΆ

Traceback (most recent call last):
  File "/build/matplotlib-xz4j8t/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