course content

Course Content

Visualization in Python with matplotlib

Challenge 1Challenge 1

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*')
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Everything was clear?

Section 1. Chapter 11
toggle bottom row