From 1d2ca7ad57e48766e152ad536b27e6f0a679008f Mon Sep 17 00:00:00 2001 From: 7cb84b8d37d239738c7c51278d3e7831 <7cb84b8d37d239738c7c51278d3e7831@app-learninglab.inria.fr> Date: Thu, 12 Nov 2020 08:46:11 +0000 Subject: [PATCH] Update exercice_python_fr.org --- module2/exo3/exercice_python_fr.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module2/exo3/exercice_python_fr.org b/module2/exo3/exercice_python_fr.org index 1200777..4238dab 100644 --- a/module2/exo3/exercice_python_fr.org +++ b/module2/exo3/exercice_python_fr.org @@ -32,6 +32,7 @@ x=np.array(data) #+begin_src python :results output file :session :var matplot_lib_filename="./figure1.png" :exports both plt.clf() plt.plot(x) +plt.grid(True) plt.savefig(matplot_lib_filename) print(matplot_lib_filename) #+end_src @@ -42,6 +43,7 @@ print(matplot_lib_filename) #+begin_src python :results output file :session :var matplot_lib_filename="./figure2.png" :exports both plt.clf() plt.hist(x) +plt.grid(True) plt.savefig(matplot_lib_filename) print(matplot_lib_filename) #+end_src -- 2.18.1