Course Content
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Challenge
Let's improve our plot by adding data for one more country.
Task
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.
Everything was clear?
Section 1. Chapter 5