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
7cb84b8d37d239738c7c51278d3e7831
mooc-rr
Commits
1d2ca7ad
Commit
1d2ca7ad
authored
Nov 12, 2020
by
7cb84b8d37d239738c7c51278d3e7831
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update exercice_python_fr.org
parent
229f8793
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
exercice_python_fr.org
module2/exo3/exercice_python_fr.org
+2
-0
No files found.
module2/exo3/exercice_python_fr.org
View file @
1d2ca7ad
...
...
@@ -32,6 +32,7 @@ x=np.array(data)
#+begin_src python :results output file :session :var matplot_lib_filename="./figure1.png" :exports both
plt.clf()
plt.plot(x)
plt.grid(True)
plt.savefig(matplot_lib_filename)
print(matplot_lib_filename)
#+end_src
...
...
@@ -42,6 +43,7 @@ print(matplot_lib_filename)
#+begin_src python :results output file :session :var matplot_lib_filename="./figure2.png" :exports both
plt.clf()
plt.hist(x)
plt.grid(True)
plt.savefig(matplot_lib_filename)
print(matplot_lib_filename)
#+end_src
...
...
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