From e467ca3a2f103352b38c2bda1daaa0c9055209bb Mon Sep 17 00:00:00 2001 From: 7cb84b8d37d239738c7c51278d3e7831 <7cb84b8d37d239738c7c51278d3e7831@app-learninglab.inria.fr> Date: Thu, 12 Nov 2020 08:21:12 +0000 Subject: [PATCH] Update exercice_python_en.org --- module2/exo3/exercice_python_en.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module2/exo3/exercice_python_en.org b/module2/exo3/exercice_python_en.org index 0cc1186..1200777 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]] -- 2.18.1