From 7290647c8006b2644be9bca4241c62a3663fc89f Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 13 Nov 2017 16:51:38 +0000 Subject: [PATCH] Fix mixed_subplots example --- examples/mplot3d/mixed_subplots.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/mplot3d/mixed_subplots.py b/examples/mplot3d/mixed_subplots.py index 37962d654d94..fd1af313b6e3 100644 --- a/examples/mplot3d/mixed_subplots.py +++ b/examples/mplot3d/mixed_subplots.py @@ -16,16 +16,11 @@ def f(t): return np.multiply(s1, e1) -############################################# # Set up a figure twice as tall as it is wide -############################################# fig = plt.figure(figsize=plt.figaspect(2.)) fig.suptitle('A tale of 2 subplots') - -############################################# # First subplot -############################################# ax = fig.add_subplot(2, 1, 1) t1 = np.arange(0.0, 5.0, 0.1) @@ -37,10 +32,7 @@ def f(t): ax.grid(True) ax.set_ylabel('Damped oscillation') - -############################################# # Second subplot -############################################# ax = fig.add_subplot(2, 1, 2, projection='3d') X = np.arange(-5, 5, 0.25) @@ -53,5 +45,4 @@ def f(t): linewidth=0, antialiased=False) ax.set_zlim(-1, 1) - plt.show()