diff --git a/module2/exo2/exercice_python_fr.org b/module2/exo2/exercice_python_fr.org index 6aa9419b0edc212a069f56f91297ad10aeeddb5a..5e79500fd997b58b8d8064d4a86c0b69b4bd0f37 100644 --- a/module2/exo2/exercice_python_fr.org +++ b/module2/exo2/exercice_python_fr.org @@ -145,7 +145,7 @@ round(np.std(données, ddof=1), 2) ** Graphiques **** Séquence -#+begin_src python :results file :session :exports source +#+begin_src python :results file :session :exports both import matplotlib.pyplot as plt plt.figure(figsize=(5,5)) @@ -156,10 +156,7 @@ plt.savefig("sequence.png") #+end_src #+RESULTS: -[[file:[]]] -[[file:[]]] -[[file:[]]] -[[file:[]]] +[[file:[]]] [[sequence.png]] @@ -177,6 +174,8 @@ plt.savefig("histogramme.png") #+RESULTS: [[file:(array([ 4., 3., 5., 9., 16., 20., 22., 9., 8., 4.]), array([ 2.8 , 4.86, 6.92, 8.98, 11.04, 13.1 , 15.16, 17.22, 19.28, 21.34, 23.4 ]), )]] +[[file:(array([ 4., 3., 5., 9., 16., 20., 22., 9., 8., 4.]), array([ 2.8 , 4.86, 6.92, 8.98, 11.04, 13.1 , 15.16, 17.22, 19.28, + 21.34, 23.4 ]), )]] [[histogramme.png]]