diff --git a/module2/exo3/exercice_python_fr.org b/module2/exo3/exercice_python_fr.org index 1200777acea9dc178223083d4ded0750d2c739bb..4238dab81f455371e503d583aff874ed193dec2b 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