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
eaf37227be00bb72cd916dff304a82e5
mooc-rr
Commits
6b87c52e
Commit
6b87c52e
authored
Jun 23, 2021
by
eaf37227be00bb72cd916dff304a82e5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New update fichier-markdown.md
parent
d132e6b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
fichier-markdown.md
module1/exo2/fichier-markdown.md
+15
-2
No files found.
module1/exo2/fichier-markdown.md
View file @
6b87c52e
...
@@ -26,8 +26,21 @@ cf la *[Sous-partie 3](## Sous-partie 3 : Code)* pour plus d'information. <!-- N
...
@@ -26,8 +26,21 @@ cf la *[Sous-partie 3](## Sous-partie 3 : Code)* pour plus d'information. <!-- N
## Sous-partie 3 : Code
## Sous-partie 3 : Code
```
```
python
# block de code
import
numpy
as
np
import
matplotlib.pyplot
as
plt
plt
.
rc
(
'text'
,
usetex
=
True
)
N
=
0
xMax
,
yMax
=
5
,
5
fig
,
a
=
plt
.
subplots
()
a
.
spines
[
'top'
]
.
set_visible
(
False
)
;
a
.
spines
[
'bottom'
]
.
set_visible
(
False
)
a
.
spines
[
'right'
]
.
set_visible
(
False
)
;
a
.
spines
[
'left'
]
.
set_visible
(
False
)
X
=
np
.
linspace
(
0
,
xMax
,
N
)
a
.
set_xlim
(
0
,
xMax
)
a
.
set_ylim
(
0
,
yMax
)
plt
.
show
()
```
```
...
...
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