Add Data to the Plot
Let's improve our plot by adding data for one more country.
Tâche
Swipe to start coding
Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:
- Create
Figure
andAxes
objects assigned to variablesfig
,ax
respectively. - Save within the
can
variable data forCanada
. - Use the same approach as for the
usa
data for building a new line for thecan
data.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 2.94
Add Data to the Plot
Glissez pour afficher le menu
Let's improve our plot by adding data for one more country.
Tâche
Swipe to start coding
Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:
- Create
Figure
andAxes
objects assigned to variablesfig
,ax
respectively. - Save within the
can
variable data forCanada
. - Use the same approach as for the
usa
data for building a new line for thecan
data.
Solution
Tout était clair ?
Merci pour vos commentaires !
Awesome!
Completion rate improved to 2.94Section 1. Chapitre 5
single