From: arokem Date: Fri, 8 May 2015 16:46:09 +0000 (-0700) Subject: Use consistent API. X-Git-Url: https://projects.mako.cc/source/matplotlib-cdsw/commitdiff_plain/dfe31e99ffd673eda443a288459e07c672b181a2 Use consistent API. --- diff --git a/001-hello-plot.py b/001-hello-plot.py index 0690470..882c22e 100644 --- a/001-hello-plot.py +++ b/001-hello-plot.py @@ -8,6 +8,6 @@ A first plot with matplotlib 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()