From 3ae52f1f532c75f298726d50a2811eeb2090478e Mon Sep 17 00:00:00 2001 From: 7b6ab3e907fcca64ce4257f26cd31e57 <7b6ab3e907fcca64ce4257f26cd31e57@app-learninglab.inria.fr> Date: Wed, 5 Jan 2022 10:24:59 +0000 Subject: [PATCH] =?UTF-8?q?=C3=89crire=20le=20code=20qui=20affiche=20le=20?= =?UTF-8?q?diagramme=20final?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo1/toy_notebook_fr.ipynb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 2dc39d7..d656ba3 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -114,7 +114,7 @@ } ], "source": [ - "%matplotlib inline\n", + "%matplotlib inline \n", "import matplotlib.pyplot as plt\n", "\n", "np.random.seed(seed=42)\n", @@ -135,8 +135,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Il est alors aisé d’obtenir une approximation (pas terrible) de p en comptant combien de fois,\n", - "en moyenne, X2 +Y2 est inférieur à 1 :" + "Il est alors aisé d’obtenir une approximation (pas terrible) de p en comptant combien de fois, en moyenne, X2 +Y2 est inférieur à 1 :" ] }, { -- 2.18.1