X-Git-Url: https://projects.mako.cc/source/matplotlib-cdsw/blobdiff_plain/7bd9bbbbb11d7585b76e63e354c0c779d5a8c547..6e94163bfc436e165e143cbc6259054537f554a9:/001-hello-plot.py 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()