Course Content
First Dive into seaborn Visualization
First Dive into seaborn Visualization
Final Challenge
Swipe to show code editor
This is the right time for the final task of drawing a plot based on the material we have learned in this course. After completing this task, you will definitely be ready to create cool and colorful graphics for your future projects 🥳.
-
Import the
seaborn
withsns
alias. -
Import the
matplotlib.pyplot
withplt
alias. -
Import the
pandas
withpd
alias. -
Read the file.
-
Set
blue
color forboy
,pink
forgirl
values. -
Set a
histplot
variable with histplot'sbinwidth = 0.1
,data = df
. -
Set the title
'Yummy fish!'
. -
Set the xlabel
'Kilos of fish'
. -
Set the context
paper
. -
Set the unique style:
'axes.facecolor' - 'white'
,'figure.facecolor' - 'black'
,'axes.labelcolor' - 'white'
,'xtick.color':'white'
,'ytick.color':'white'
. -
Show the plot.
Thanks for your feedback!
Final Challenge
Swipe to show code editor
This is the right time for the final task of drawing a plot based on the material we have learned in this course. After completing this task, you will definitely be ready to create cool and colorful graphics for your future projects 🥳.
-
Import the
seaborn
withsns
alias. -
Import the
matplotlib.pyplot
withplt
alias. -
Import the
pandas
withpd
alias. -
Read the file.
-
Set
blue
color forboy
,pink
forgirl
values. -
Set a
histplot
variable with histplot'sbinwidth = 0.1
,data = df
. -
Set the title
'Yummy fish!'
. -
Set the xlabel
'Kilos of fish'
. -
Set the context
paper
. -
Set the unique style:
'axes.facecolor' - 'white'
,'figure.facecolor' - 'black'
,'axes.labelcolor' - 'white'
,'xtick.color':'white'
,'ytick.color':'white'
. -
Show the plot.
Thanks for your feedback!
Final Challenge
Swipe to show code editor
This is the right time for the final task of drawing a plot based on the material we have learned in this course. After completing this task, you will definitely be ready to create cool and colorful graphics for your future projects 🥳.
-
Import the
seaborn
withsns
alias. -
Import the
matplotlib.pyplot
withplt
alias. -
Import the
pandas
withpd
alias. -
Read the file.
-
Set
blue
color forboy
,pink
forgirl
values. -
Set a
histplot
variable with histplot'sbinwidth = 0.1
,data = df
. -
Set the title
'Yummy fish!'
. -
Set the xlabel
'Kilos of fish'
. -
Set the context
paper
. -
Set the unique style:
'axes.facecolor' - 'white'
,'figure.facecolor' - 'black'
,'axes.labelcolor' - 'white'
,'xtick.color':'white'
,'ytick.color':'white'
. -
Show the plot.
Thanks for your feedback!
Swipe to show code editor
This is the right time for the final task of drawing a plot based on the material we have learned in this course. After completing this task, you will definitely be ready to create cool and colorful graphics for your future projects 🥳.
-
Import the
seaborn
withsns
alias. -
Import the
matplotlib.pyplot
withplt
alias. -
Import the
pandas
withpd
alias. -
Read the file.
-
Set
blue
color forboy
,pink
forgirl
values. -
Set a
histplot
variable with histplot'sbinwidth = 0.1
,data = df
. -
Set the title
'Yummy fish!'
. -
Set the xlabel
'Kilos of fish'
. -
Set the context
paper
. -
Set the unique style:
'axes.facecolor' - 'white'
,'figure.facecolor' - 'black'
,'axes.labelcolor' - 'white'
,'xtick.color':'white'
,'ytick.color':'white'
. -
Show the plot.