Kursinnhold
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Add Lables and Titles
Oppgave
Swipe to start coding
- Add custom labels on the axes:
'Year'
for the x-axis and'CO2 emission per person (metric tonnes)'
for the y-axis. - Add title plot
'CO2 emissions (tonnes per person) in the USA and Canada'
. - Initialize legend and display the plot.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 9
Add Lables and Titles
Oppgave
Swipe to start coding
- Add custom labels on the axes:
'Year'
for the x-axis and'CO2 emission per person (metric tonnes)'
for the y-axis. - Add title plot
'CO2 emissions (tonnes per person) in the USA and Canada'
. - Initialize legend and display the plot.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 9