Зміст курсу
Visualization in Python with matplotlib
Visualization in Python with matplotlib
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:
- Create
Figure
andAxes
objects assigned to variablesfig
,ax
respectively. - Save within the
can
variable data forCanada
. - Use the same approach as for the
usa
data for building a new line for thecan
data.
Дякуємо за ваш відгук!
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:
- Create
Figure
andAxes
objects assigned to variablesfig
,ax
respectively. - Save within the
can
variable data forCanada
. - Use the same approach as for the
usa
data for building a new line for thecan
data.
Дякуємо за ваш відгук!
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:
- Create
Figure
andAxes
objects assigned to variablesfig
,ax
respectively. - Save within the
can
variable data forCanada
. - Use the same approach as for the
usa
data for building a new line for thecan
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:
- Create
Figure
andAxes
objects assigned to variablesfig
,ax
respectively. - Save within the
can
variable data forCanada
. - Use the same approach as for the
usa
data for building a new line for thecan
data.