course content

Course Content

Visualization in Python with matplotlib


Let's improve our plot by adding data for one more country.


Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

Everything was clear?

Section 1. Chapter 5
toggle bottom row