Course Content
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Group by Continuous Variable
Task
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi'
column values.
- Initialize a scatter plot with the next parameters:
- Set points color (
c
) to the'hdi'
column values of thedata
; - Set colormap (
cmap
) to'plasma'
.
Save the call of the
.scatter()
function to thecax
variable. - Set points color (
- Apply
.colorbar()
function toFigure
object assigningcax
as an argument.
Task
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi'
column values.
- Initialize a scatter plot with the next parameters:
- Set points color (
c
) to the'hdi'
column values of thedata
; - Set colormap (
cmap
) to'plasma'
.
Save the call of the
.scatter()
function to thecax
variable. - Set points color (
- Apply
.colorbar()
function toFigure
object assigningcax
as an argument.
Everything was clear?
Group by Continuous Variable
Task
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi'
column values.
- Initialize a scatter plot with the next parameters:
- Set points color (
c
) to the'hdi'
column values of thedata
; - Set colormap (
cmap
) to'plasma'
.
Save the call of the
.scatter()
function to thecax
variable. - Set points color (
- Apply
.colorbar()
function toFigure
object assigningcax
as an argument.
Task
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi'
column values.
- Initialize a scatter plot with the next parameters:
- Set points color (
c
) to the'hdi'
column values of thedata
; - Set colormap (
cmap
) to'plasma'
.
Save the call of the
.scatter()
function to thecax
variable. - Set points color (
- Apply
.colorbar()
function toFigure
object assigningcax
as an argument.
Everything was clear?
Group by Continuous Variable
Task
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi'
column values.
- Initialize a scatter plot with the next parameters:
- Set points color (
c
) to the'hdi'
column values of thedata
; - Set colormap (
cmap
) to'plasma'
.
Save the call of the
.scatter()
function to thecax
variable. - Set points color (
- Apply
.colorbar()
function toFigure
object assigningcax
as an argument.
Task
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi'
column values.
- Initialize a scatter plot with the next parameters:
- Set points color (
c
) to the'hdi'
column values of thedata
; - Set colormap (
cmap
) to'plasma'
.
Save the call of the
.scatter()
function to thecax
variable. - Set points color (
- Apply
.colorbar()
function toFigure
object assigningcax
as an argument.
Everything was clear?
Task
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi'
column values.
- Initialize a scatter plot with the next parameters:
- Set points color (
c
) to the'hdi'
column values of thedata
; - Set colormap (
cmap
) to'plasma'
.
Save the call of the
.scatter()
function to thecax
variable. - Set points color (
- Apply
.colorbar()
function toFigure
object assigningcax
as an argument.