Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Customize Your Line Chart | Basics: Line Charts
course content

Зміст курсу

Visualization in Python with matplotlib

Customize Your Line ChartCustomize Your Line Chart

Завдання

  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.

Все було зрозуміло?

Секція 1. Розділ 11
toggle bottom row
course content

Зміст курсу

Visualization in Python with matplotlib

Customize Your Line ChartCustomize Your Line Chart

Завдання

  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.

Все було зрозуміло?

Секція 1. Розділ 11
toggle bottom row
some-alt