From 39db79d7913da72c9787e8b848605c60615bd127 Mon Sep 17 00:00:00 2001 From: 55c671948c2c802a48ec3ed371eaabea <55c671948c2c802a48ec3ed371eaabea@app-learninglab.inria.fr> Date: Fri, 8 May 2020 12:22:10 +0000 Subject: [PATCH] Update exercice_python_fr.org --- module3/exo3/exercice_python_fr.org | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/module3/exo3/exercice_python_fr.org b/module3/exo3/exercice_python_fr.org index 2b27902..ba930a2 100644 --- a/module3/exo3/exercice_python_fr.org +++ b/module3/exo3/exercice_python_fr.org @@ -87,7 +87,7 @@ Nom du plot lineaire : #+NAME: plot_linear_emacs - plot-linear.png -#+begin_src python :results value file :session :export both :var plot_linear=plot_linear_emacs +#+begin_src python :results silent :session :export both :var plot_linear=plot_linear_emacs import matplotlib.pyplot as plt for i in range(len(df)): @@ -95,10 +95,8 @@ for i in range(len(df)): plt.legend(df["Country/Region"]) plt.savefig(plot_linear[0]) -plot_linear[0] #+end_src -#+RESULTS: [[file:plot-linear.png]] ** Affichage des donnees (echelle logarithmique) @@ -109,12 +107,10 @@ Nom du plot logarithmique : #+NAME: plot_log_emacs - plot-log.png -#+begin_src python :results value file :session :export both :var plot_log=plot_log_emacs +#+begin_src python :results silent :session :export both :var plot_log=plot_log_emacs plt.yscale("log") plt.savefig(plot_log[0]) -plot_log[0] #+end_src -#+RESULTS: [[file:plot-log.png]] -- 2.18.1