Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Add Data to the Plot | 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 Data to the Plot

Let's improve our plot by adding data for one more country.

Завдання

Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

Завдання

Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

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

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

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

Add Data to the Plot

Let's improve our plot by adding data for one more country.

Завдання

Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

Завдання

Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

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

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

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

Add Data to the Plot

Let's improve our plot by adding data for one more country.

Завдання

Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

Завдання

Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

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

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

Let's improve our plot by adding data for one more country.

Завдання

Display the lines for the United States and Canada emission levels on a single chart. Follow the next steps:

  1. Create Figure and Axes objects assigned to variables fig, ax respectively.
  2. Save within the can variable data for Canada.
  3. Use the same approach as for the usa data for building a new line for the can data.

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