Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
26c634550904aba62520384fc8aa7dec
mooc-rr
Commits
c20adb59
Commit
c20adb59
authored
Apr 22, 2020
by
26c634550904aba62520384fc8aa7dec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
c4570195
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
exercice.ipynb
module3/exo3/exercice.ipynb
+8
-4
No files found.
module3/exo3/exercice.ipynb
View file @
c20adb59
...
...
@@ -584,21 +584,22 @@
"cell_type": "markdown",
"metadata": {},
"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",
"execution_count": 9
0
,
"execution_count": 9
8
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f9105
f04e80
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f9105
a1e5f8
>"
]
},
"execution_count": 9
0
,
"execution_count": 9
8
,
"metadata": {},
"output_type": "execute_result"
},
...
...
@@ -616,6 +617,9 @@
}
],
"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",
"ax = graphique1.add_subplot(111)\n",
"plt.ylabel('Livres')\n",
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment