Skip to content

Commit 61bdcc3

Browse files
committed
Merge pull request matplotlib#1187 from dmcdougall/arrow_example
Add a *simple* arrow example
2 parents b5eb1d0 + a93a9e3 commit 61bdcc3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import matplotlib.pyplot as plt
2+
3+
ax = plt.axes()
4+
ax.arrow(0, 0, 0.5, 0.5, head_width=0.05, head_length=0.1, fc='k', ec='k')
5+
plt.show()

0 commit comments

Comments
 (0)