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
23db65e7e2b5fb82db5e83fb70a96150
mooc-rr
Commits
72b1714a
Commit
72b1714a
authored
Apr 24, 2020
by
escuiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maj export outputs graphiques
parent
99e213b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
exercice_python_fr.org
module2/exo2/exercice_python_fr.org
+4
-5
No files found.
module2/exo2/exercice_python_fr.org
View file @
72b1714a
...
@@ -145,7 +145,7 @@ round(np.std(données, ddof=1), 2)
...
@@ -145,7 +145,7 @@ round(np.std(données, ddof=1), 2)
** Graphiques
** Graphiques
**** Séquence
**** Séquence
#+begin_src python :results file :session :exports
source
#+begin_src python :results file :session :exports
both
import matplotlib.pyplot as plt
import matplotlib.pyplot as plt
plt.figure(figsize=(5,5))
plt.figure(figsize=(5,5))
...
@@ -156,10 +156,7 @@ plt.savefig("sequence.png")
...
@@ -156,10 +156,7 @@ plt.savefig("sequence.png")
#+end_src
#+end_src
#+RESULTS:
#+RESULTS:
[[file:[<matplotlib.lines.Line2D object at 0x7fb614aa2df0>]]]
[[file:[<matplotlib.lines.Line2D object at 0x7fb6144ec910>]]]
[[file:[<matplotlib.lines.Line2D object at 0x7fb615067220>]]]
[[file:[<matplotlib.lines.Line2D object at 0x7fb615613dc0>]]]
[[file:[<matplotlib.lines.Line2D object at 0x7fb6159ccaf0>]]]
[[sequence.png]]
[[sequence.png]]
...
@@ -177,6 +174,8 @@ plt.savefig("histogramme.png")
...
@@ -177,6 +174,8 @@ plt.savefig("histogramme.png")
#+RESULTS:
#+RESULTS:
[[file:(array([ 4., 3., 5., 9., 16., 20., 22., 9., 8., 4.]), array([ 2.8 , 4.86, 6.92, 8.98, 11.04, 13.1 , 15.16, 17.22, 19.28,
[[file:(array([ 4., 3., 5., 9., 16., 20., 22., 9., 8., 4.]), array([ 2.8 , 4.86, 6.92, 8.98, 11.04, 13.1 , 15.16, 17.22, 19.28,
21.34, 23.4 ]), <a list of 10 Patch objects>)]]
21.34, 23.4 ]), <a list of 10 Patch objects>)]]
[[file:(array([ 4., 3., 5., 9., 16., 20., 22., 9., 8., 4.]), array([ 2.8 , 4.86, 6.92, 8.98, 11.04, 13.1 , 15.16, 17.22, 19.28,
21.34, 23.4 ]), <a list of 10 Patch objects>)]]
[[histogramme.png]]
[[histogramme.png]]
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