Зміст курсу
Deep Dive into the seaborn Visualization
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
Catplot
Note
catplot
=FacetGrid
+stripplot
/swarmplot
/boxplot
/violinplot
/barplot
/pointplot
The catplot
function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot
, stripplot
and so on.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/9.gif?w=3840&q=75)
Note
Scroll down to see the full plot when you cope with the task!
Завдання
- Set the
'white'
style with the'aliceblue'
axes.facecolor
. - Create the
catplot
using theseaborn
library:
- Set the
x
parameter equals the'species'
; - Set the
y
parameter equals the'body_mass_g'
; - Set the
hue
parameter equals the'sex'
; - Set the
row
parameter equals the'island'
; - Set the
'viridis'
palette
; - Set the
alpha
parameter equals0.6
; - Disable the
legend_out
.
Завдання
- Set the
'white'
style with the'aliceblue'
axes.facecolor
. - Create the
catplot
using theseaborn
library:
- Set the
x
parameter equals the'species'
; - Set the
y
parameter equals the'body_mass_g'
; - Set the
hue
parameter equals the'sex'
; - Set the
row
parameter equals the'island'
; - Set the
'viridis'
palette
; - Set the
alpha
parameter equals0.6
; - Disable the
legend_out
.
Все було зрозуміло?
Catplot
Note
catplot
=FacetGrid
+stripplot
/swarmplot
/boxplot
/violinplot
/barplot
/pointplot
The catplot
function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot
, stripplot
and so on.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/9.gif?w=3840&q=75)
Note
Scroll down to see the full plot when you cope with the task!
Завдання
- Set the
'white'
style with the'aliceblue'
axes.facecolor
. - Create the
catplot
using theseaborn
library:
- Set the
x
parameter equals the'species'
; - Set the
y
parameter equals the'body_mass_g'
; - Set the
hue
parameter equals the'sex'
; - Set the
row
parameter equals the'island'
; - Set the
'viridis'
palette
; - Set the
alpha
parameter equals0.6
; - Disable the
legend_out
.
Завдання
- Set the
'white'
style with the'aliceblue'
axes.facecolor
. - Create the
catplot
using theseaborn
library:
- Set the
x
parameter equals the'species'
; - Set the
y
parameter equals the'body_mass_g'
; - Set the
hue
parameter equals the'sex'
; - Set the
row
parameter equals the'island'
; - Set the
'viridis'
palette
; - Set the
alpha
parameter equals0.6
; - Disable the
legend_out
.
Все було зрозуміло?
Note
catplot
=FacetGrid
+stripplot
/swarmplot
/boxplot
/violinplot
/barplot
/pointplot
The catplot
function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot
, stripplot
and so on.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/9.gif?w=3840&q=75)
Note
Scroll down to see the full plot when you cope with the task!
Завдання
- Set the
'white'
style with the'aliceblue'
axes.facecolor
. - Create the
catplot
using theseaborn
library:
- Set the
x
parameter equals the'species'
; - Set the
y
parameter equals the'body_mass_g'
; - Set the
hue
parameter equals the'sex'
; - Set the
row
parameter equals the'island'
; - Set the
'viridis'
palette
; - Set the
alpha
parameter equals0.6
; - Disable the
legend_out
.
Catplot
Note
catplot
=FacetGrid
+stripplot
/swarmplot
/boxplot
/violinplot
/barplot
/pointplot
The catplot
function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot
, stripplot
and so on.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/catplot+gifs/9.gif?w=3840&q=75)
Note
Scroll down to see the full plot when you cope with the task!
Завдання
- Set the
'white'
style with the'aliceblue'
axes.facecolor
. - Create the
catplot
using theseaborn
library:
- Set the
x
parameter equals the'species'
; - Set the
y
parameter equals the'body_mass_g'
; - Set the
hue
parameter equals the'sex'
; - Set the
row
parameter equals the'island'
; - Set the
'viridis'
palette
; - Set the
alpha
parameter equals0.6
; - Disable the
legend_out
.