diff --git a/module2/exo3/exercice_python_en.org b/module2/exo3/exercice_python_en.org index 0cc11862177256356ad84c02762ec42001a75626..1200777acea9dc178223083d4ded0750d2c739bb 100644 --- a/module2/exo3/exercice_python_en.org +++ b/module2/exo3/exercice_python_en.org @@ -29,7 +29,7 @@ x=np.array(data) 1) Sequence plot -#+begin_src python :results output graphics file :session :var matplot_lib_filename=(org-babel-temp-file "figure1" ".png") :exports both +#+begin_src python :results output file :session :var matplot_lib_filename="./figure1.png" :exports both plt.clf() plt.plot(x) plt.savefig(matplot_lib_filename) @@ -37,9 +37,9 @@ print(matplot_lib_filename) #+end_src #+RESULTS: -[[file:/tmp/babel-oymgiS/figure1oaBBrp.png]] +[[file:./figure1.png]] -#+begin_src python :results output graphics file :session :var matplot_lib_filename=(org-babel-temp-file "figure2" ".png") :exports both +#+begin_src python :results output file :session :var matplot_lib_filename="./figure2.png" :exports both plt.clf() plt.hist(x) plt.savefig(matplot_lib_filename) @@ -47,6 +47,6 @@ print(matplot_lib_filename) #+end_src #+RESULTS: -[[file:/tmp/babel-oymgiS/figure23T6EDX.png]] +[[file:./figure2.png]]