Use consistent API.
authorarokem <arokem@gmail.com>
Fri, 8 May 2015 16:46:09 +0000 (09:46 -0700)
committerAriel Rokem <arokem@gmail.com>
Fri, 8 May 2015 16:46:09 +0000 (09:46 -0700)
001-hello-plot.py

index 06904708e84e353b2a2366e5ba283685ed693375..882c22ec2f7102005c4f98d0a4a964226f51ea5c 100644 (file)
@@ -8,6 +8,6 @@ A first plot with matplotlib
 
 import matplotlib.pyplot as plt 
 figure, axis = plt.subplots(1)
 
 import matplotlib.pyplot as plt 
 figure, axis = plt.subplots(1)
-plt.plot([1,2,3], [2,4,8])
+axis.plot([1,2,3], [2,4,8])
 plt.show()
 
 plt.show()
 

Benjamin Mako Hill || Want to submit a patch?