Зміст курсу
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Add Legend
Now let's modify the plot from the previous task with the legend!
Завдання
Swipe to start coding
- Add
label
parameters to both plots. Use'United States'
aslabel
for theusa
data and'Canada'
for thecan
data. - Add a legend to the plot.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 7
Add Legend
Now let's modify the plot from the previous task with the legend!
Завдання
Swipe to start coding
- Add
label
parameters to both plots. Use'United States'
aslabel
for theusa
data and'Canada'
for thecan
data. - Add a legend to the plot.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 7