Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Add Lables and Titles
course content

Course Content

Visualization in Python with matplotlib

Add Lables and TitlesAdd Lables and Titles

Task

  1. Add custom labels on the axes: 'Year' for the x-axis and 'CO2 emission per person (metric tonnes)' for the y-axis.
  2. Add title plot 'CO2 emissions (tonnes per person) in the USA and Canada'.
  3. Initialize legend and display the plot.

Everything was clear?

Section 1. Chapter 9
toggle bottom row
some-alt