Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Add Legend | Basics: Line Charts
Visualization in Python with matplotlib
course content

Зміст курсу

Visualization in Python with matplotlib

Visualization in Python with matplotlib

1. Basics: Line Charts
2. Bar Charts
3. Scatter Plots

Add Legend

Now let's modify the plot from the previous task with the legend!

Завдання

  1. Add label parameters to both plots. Use 'United States' as label for the usa data and 'Canada' for the can data.
  2. Add a legend to the plot.

Завдання

  1. Add label parameters to both plots. Use 'United States' as label for the usa data and 'Canada' for the can data.
  2. Add a legend to the plot.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

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

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

Add Legend

Now let's modify the plot from the previous task with the legend!

Завдання

  1. Add label parameters to both plots. Use 'United States' as label for the usa data and 'Canada' for the can data.
  2. Add a legend to the plot.

Завдання

  1. Add label parameters to both plots. Use 'United States' as label for the usa data and 'Canada' for the can data.
  2. Add a legend to the plot.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

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

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

Add Legend

Now let's modify the plot from the previous task with the legend!

Завдання

  1. Add label parameters to both plots. Use 'United States' as label for the usa data and 'Canada' for the can data.
  2. Add a legend to the plot.

Завдання

  1. Add label parameters to both plots. Use 'United States' as label for the usa data and 'Canada' for the can data.
  2. Add a legend to the plot.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

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

Now let's modify the plot from the previous task with the legend!

Завдання

  1. Add label parameters to both plots. Use 'United States' as label for the usa data and 'Canada' for the can data.
  2. Add a legend to the plot.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 1. Розділ 7
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt