Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove interaction directly with the figure

  • Loading branch information...
commit a93a9e343c0fd767f99769aec9adecbf1193d56e 1 parent 6e36175
@dmcdougall authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  examples/pylab_examples/arrow_simple_demo.py
View
3  examples/pylab_examples/arrow_simple_demo.py
@@ -1,6 +1,5 @@
import matplotlib.pyplot as plt
-fig = plt.figure()
-ax = fig.add_subplot(1, 1, 1)
+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()
Please sign in to comment.
Something went wrong with that request. Please try again.