From dfe31e99ffd673eda443a288459e07c672b181a2 Mon Sep 17 00:00:00 2001 From: arokem Date: Fri, 8 May 2015 09:46:09 -0700 Subject: [PATCH] Use consistent API. --- 001-hello-plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2