mirror of https://github.com/01-edu/Branch-AI.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
472 B
18 lines
472 B
2 years ago
|
# Exercise 5 Matplotlib subplots
|
||
|
|
||
|
The goal of this exercise is to learn to use Matplotlib to create subplots.
|
||
|
|
||
|
1. Reproduce this plot using a **for loop**:
|
||
|
|
||
|
![alt text][logo_ex5]
|
||
|
|
||
|
[logo_ex5]: ./w1day03_ex5_plot1.png "Subplots ex5"
|
||
|
|
||
|
The plot has to contain:
|
||
|
|
||
|
- 6 subplots: 2 rows, 3 columns
|
||
|
- Keep space between plots: `hspace=0.5` and `wspace=0.5`
|
||
|
- Each plot contains
|
||
|
|
||
|
- Text (2,3,i) centered at 0.5, 0.5. *Hint*: check the parameter `ha` of `text`
|
||
|
- a title: Title i
|