From b43a2614f85bcde5a7eb29e2866e155bc5b8b3d4 Mon Sep 17 00:00:00 2001 From: 55c671948c2c802a48ec3ed371eaabea <55c671948c2c802a48ec3ed371eaabea@app-learninglab.inria.fr> Date: Fri, 8 May 2020 12:33:03 +0000 Subject: [PATCH] Update exercice_python_fr.org --- module3/exo3/exercice_python_fr.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module3/exo3/exercice_python_fr.org b/module3/exo3/exercice_python_fr.org index ba930a2..0cf3dff 100644 --- a/module3/exo3/exercice_python_fr.org +++ b/module3/exo3/exercice_python_fr.org @@ -75,7 +75,7 @@ df.drop(indexNames , inplace=True) On remet dans la table de donnees les regions de Chine regroupees (a l'exception d'Hong Kong) -#+begin_src python :results silent :session :exports both results +#+begin_src python :results silent :session :exports both df = df.append(china_regions, ignore_index=True) #+end_src @@ -94,11 +94,14 @@ for i in range(len(df)): df.iloc[i]["1/22/20":].plot() plt.legend(df["Country/Region"]) +plt.yscale("linear") plt.savefig(plot_linear[0]) #+end_src [[file:plot-linear.png]] + + ** Affichage des donnees (echelle logarithmique) Affichage de la table de donnees avec une echelle logarithmique @@ -113,4 +116,3 @@ plt.savefig(plot_log[0]) #+end_src [[file:plot-log.png]] - -- 2.18.1