From edb75c7e1808e8c8402b8692863fc6e8951f94c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B9=20Marcer?= Date: Sun, 7 Jun 2020 00:01:01 +0200 Subject: [PATCH] ex-1: fixed a typo --- ex-1/slides-plot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ex-1/slides-plot.py b/ex-1/slides-plot.py index d8955be..299e23d 100755 --- a/ex-1/slides-plot.py +++ b/ex-1/slides-plot.py @@ -10,9 +10,9 @@ def moyal(x, μ, σ): return N * np.exp(- 0.5 * ((x - μ)/σ + np.exp( - (x - μ)/σ))) -# plt.figure() -plt.figure(figsize=(3.5, 2.5)) -plt.rcParams['font.size'] = 8 +plt.figure() +# plt.figure(figsize=(3.5, 2.5)) +# plt.rcParams['font.size'] = 8 # useful coordinates # y_min = -0.0086 # y min axes @@ -51,7 +51,7 @@ plt.plot(x, y, color='#92182b') # do Moyal plot μ = -0.22278298 σ = 1.1191486 -x = np.arange(-10,30, 0.01) +x = np.arange(-10, 30, 0.01) plt.plot(x, moyal(x, μ, σ), color='gray') # save figure