Contenido del Curso
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Add Data to the Plot
Let's improve our plot by adding data for one more country.
Tarea
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.
¡Gracias por tus comentarios!
Add Data to the Plot
Let's improve our plot by adding data for one more country.
Tarea
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.
¡Gracias por tus comentarios!
Add Data to the Plot
Let's improve our plot by adding data for one more country.
Tarea
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.
¡Gracias por tus comentarios!
Let's improve our plot by adding data for one more country.
Tarea
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.