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
55c671948c2c802a48ec3ed371eaabea
mooc-rr
Commits
39db79d7
Commit
39db79d7
authored
May 08, 2020
by
55c671948c2c802a48ec3ed371eaabea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update exercice_python_fr.org
parent
924c05e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
exercice_python_fr.org
module3/exo3/exercice_python_fr.org
+2
-6
No files found.
module3/exo3/exercice_python_fr.org
View file @
39db79d7
...
@@ -87,7 +87,7 @@ Nom du plot lineaire :
...
@@ -87,7 +87,7 @@ Nom du plot lineaire :
#+NAME: plot_linear_emacs
#+NAME: plot_linear_emacs
- plot-linear.png
- plot-linear.png
#+begin_src python :results
value file
:session :export both :var plot_linear=plot_linear_emacs
#+begin_src python :results
silent
:session :export both :var plot_linear=plot_linear_emacs
import matplotlib.pyplot as plt
import matplotlib.pyplot as plt
for i in range(len(df)):
for i in range(len(df)):
...
@@ -95,10 +95,8 @@ for i in range(len(df)):
...
@@ -95,10 +95,8 @@ for i in range(len(df)):
plt.legend(df["Country/Region"])
plt.legend(df["Country/Region"])
plt.savefig(plot_linear[0])
plt.savefig(plot_linear[0])
plot_linear[0]
#+end_src
#+end_src
#+RESULTS:
[[file:plot-linear.png]]
[[file:plot-linear.png]]
** Affichage des donnees (echelle logarithmique)
** Affichage des donnees (echelle logarithmique)
...
@@ -109,12 +107,10 @@ Nom du plot logarithmique :
...
@@ -109,12 +107,10 @@ Nom du plot logarithmique :
#+NAME: plot_log_emacs
#+NAME: plot_log_emacs
- plot-log.png
- plot-log.png
#+begin_src python :results
value file
:session :export both :var plot_log=plot_log_emacs
#+begin_src python :results
silent
:session :export both :var plot_log=plot_log_emacs
plt.yscale("log")
plt.yscale("log")
plt.savefig(plot_log[0])
plt.savefig(plot_log[0])
plot_log[0]
#+end_src
#+end_src
#+RESULTS:
[[file:plot-log.png]]
[[file:plot-log.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