From 92c76549f631405e8fd49e558e099707f5608be0 Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Mon, 26 Aug 2013 16:12:25 +0530 Subject: [PATCH 1/5] Update pyplot_formatstr.py --- doc/pyplots/pyplot_formatstr.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/pyplots/pyplot_formatstr.py b/doc/pyplots/pyplot_formatstr.py index 2c4f425da973..b7a7786a602e 100644 --- a/doc/pyplots/pyplot_formatstr.py +++ b/doc/pyplots/pyplot_formatstr.py @@ -1,5 +1,4 @@ import matplotlib.pyplot as plt plt.plot([1,2,3,4], [1,4,9,16], 'ro') plt.axis([0, 6, 0, 20]) - - +plt.show() From 55bdafe4b4dac33ebfc65dc7100d5066897dfbfd Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Mon, 26 Aug 2013 16:15:32 +0530 Subject: [PATCH 2/5] Update pyplot_mathtext.py --- doc/pyplots/pyplot_mathtext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/pyplots/pyplot_mathtext.py b/doc/pyplots/pyplot_mathtext.py index 9ee51eabd41a..d90f5cbb381e 100644 --- a/doc/pyplots/pyplot_mathtext.py +++ b/doc/pyplots/pyplot_mathtext.py @@ -10,3 +10,4 @@ fontsize=20) plt.xlabel('time (s)') plt.ylabel('volts (mV)') +plt.show() From aa914860843b4081093068ce5bad0e65490b83e0 Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Mon, 26 Aug 2013 16:16:11 +0530 Subject: [PATCH 3/5] Update pyplot_text.py --- doc/pyplots/pyplot_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/pyplots/pyplot_text.py b/doc/pyplots/pyplot_text.py index 64f2441485b8..19aad305f06b 100644 --- a/doc/pyplots/pyplot_text.py +++ b/doc/pyplots/pyplot_text.py @@ -14,4 +14,4 @@ plt.text(60, .025, r'$\mu=100,\ \sigma=15$') plt.axis([40, 160, 0, 0.03]) plt.grid(True) - +plt.show() From dd2daecc1951dfc39be4f940911c4109caf53e97 Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Mon, 26 Aug 2013 16:17:02 +0530 Subject: [PATCH 4/5] Update pyplot_three.py --- doc/pyplots/pyplot_three.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/pyplots/pyplot_three.py b/doc/pyplots/pyplot_three.py index ecb200e6b413..2762d7cbd1d7 100644 --- a/doc/pyplots/pyplot_three.py +++ b/doc/pyplots/pyplot_three.py @@ -6,4 +6,4 @@ # red dashes, blue squares and green triangles plt.plot(t, t, 'r--', t, t**2, 'bs', t, t**3, 'g^') - +plt.show() From 40c586e12496f1836c4c3386e7cfc3a231feffcc Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Mon, 26 Aug 2013 16:18:02 +0530 Subject: [PATCH 5/5] Update pyplot_two_subplots.py --- doc/pyplots/pyplot_two_subplots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/pyplots/pyplot_two_subplots.py b/doc/pyplots/pyplot_two_subplots.py index 2a1af9fec45b..bfc6ebc121de 100644 --- a/doc/pyplots/pyplot_two_subplots.py +++ b/doc/pyplots/pyplot_two_subplots.py @@ -13,4 +13,4 @@ def f(t): plt.subplot(212) plt.plot(t2, np.cos(2*np.pi*t2), 'r--') - +plt.show()