Skip to content

Commit 6e36175

Browse files
committed
Add a *simple* arrow example
1 parent cf7618c commit 6e36175

File tree

1 file changed

+6
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)