no commit message

parent c4570195
...@@ -584,21 +584,22 @@ ...@@ -584,21 +584,22 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"On va maintenant essayer de raffiner !" "On va maintenant essayer de raffiner !\n",
"En n'utilisant pas les fonctions graphique des Panda mais en appelant directement matplotlib"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 90, "execution_count": 98,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f9105f04e80>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f9105a1e5f8>"
] ]
}, },
"execution_count": 90, "execution_count": 98,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
...@@ -616,6 +617,9 @@ ...@@ -616,6 +617,9 @@
} }
], ],
"source": [ "source": [
"x=sorted_data.index.tolist()\n",
"y_wa=list(sorted_data[\"Wages\"])\n",
"y_wh=list(sorted_data[\"Wheat\"])\n",
"graphique1 = plt.figure()\n", "graphique1 = plt.figure()\n",
"ax = graphique1.add_subplot(111)\n", "ax = graphique1.add_subplot(111)\n",
"plt.ylabel('Livres')\n", "plt.ylabel('Livres')\n",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment