Зміст курсу
Deep Dive into the seaborn Visualization
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
JointGrid
JointGrid
is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/6.gif?w=3840&q=75)
Завдання
- Set the
'ticks'
style with the'lightcyan'
figure.facecolor
. - Create a
JointGrid
variableg
:
- Set the
x
parameter equals the'bill_length_mm'
; - Set the
y
parameter equals the'bill_depth_mm'
; - Set the
hue
parameter equals the'species'
; - Set the
'viridis'
palette; - Set the data.
Set the inside plot using the .plot_joint()
function using the g
variable:
- Create a
scatterplot
using theseaborn
; - Set the
alpha
parameter equals0.5
; - Set the
'pink'
edgecolor
parameter; - Set the
linewidth
parameter equals1
.
Set the outside plot using the .plot_marginals()
function:
- Create the
histplot
using theseaborn
; - Add the
kde
parameter.
Завдання
- Set the
'ticks'
style with the'lightcyan'
figure.facecolor
. - Create a
JointGrid
variableg
:
- Set the
x
parameter equals the'bill_length_mm'
; - Set the
y
parameter equals the'bill_depth_mm'
; - Set the
hue
parameter equals the'species'
; - Set the
'viridis'
palette; - Set the data.
Set the inside plot using the .plot_joint()
function using the g
variable:
- Create a
scatterplot
using theseaborn
; - Set the
alpha
parameter equals0.5
; - Set the
'pink'
edgecolor
parameter; - Set the
linewidth
parameter equals1
.
Set the outside plot using the .plot_marginals()
function:
- Create the
histplot
using theseaborn
; - Add the
kde
parameter.
Все було зрозуміло?
JointGrid
JointGrid
is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/6.gif?w=3840&q=75)
Завдання
- Set the
'ticks'
style with the'lightcyan'
figure.facecolor
. - Create a
JointGrid
variableg
:
- Set the
x
parameter equals the'bill_length_mm'
; - Set the
y
parameter equals the'bill_depth_mm'
; - Set the
hue
parameter equals the'species'
; - Set the
'viridis'
palette; - Set the data.
Set the inside plot using the .plot_joint()
function using the g
variable:
- Create a
scatterplot
using theseaborn
; - Set the
alpha
parameter equals0.5
; - Set the
'pink'
edgecolor
parameter; - Set the
linewidth
parameter equals1
.
Set the outside plot using the .plot_marginals()
function:
- Create the
histplot
using theseaborn
; - Add the
kde
parameter.
Завдання
- Set the
'ticks'
style with the'lightcyan'
figure.facecolor
. - Create a
JointGrid
variableg
:
- Set the
x
parameter equals the'bill_length_mm'
; - Set the
y
parameter equals the'bill_depth_mm'
; - Set the
hue
parameter equals the'species'
; - Set the
'viridis'
palette; - Set the data.
Set the inside plot using the .plot_joint()
function using the g
variable:
- Create a
scatterplot
using theseaborn
; - Set the
alpha
parameter equals0.5
; - Set the
'pink'
edgecolor
parameter; - Set the
linewidth
parameter equals1
.
Set the outside plot using the .plot_marginals()
function:
- Create the
histplot
using theseaborn
; - Add the
kde
parameter.
Все було зрозуміло?
JointGrid
is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/6.gif?w=3840&q=75)
Завдання
- Set the
'ticks'
style with the'lightcyan'
figure.facecolor
. - Create a
JointGrid
variableg
:
- Set the
x
parameter equals the'bill_length_mm'
; - Set the
y
parameter equals the'bill_depth_mm'
; - Set the
hue
parameter equals the'species'
; - Set the
'viridis'
palette; - Set the data.
Set the inside plot using the .plot_joint()
function using the g
variable:
- Create a
scatterplot
using theseaborn
; - Set the
alpha
parameter equals0.5
; - Set the
'pink'
edgecolor
parameter; - Set the
linewidth
parameter equals1
.
Set the outside plot using the .plot_marginals()
function:
- Create the
histplot
using theseaborn
; - Add the
kde
parameter.
JointGrid
JointGrid
is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/jointgrid+gif/6.gif?w=3840&q=75)
Завдання
- Set the
'ticks'
style with the'lightcyan'
figure.facecolor
. - Create a
JointGrid
variableg
:
- Set the
x
parameter equals the'bill_length_mm'
; - Set the
y
parameter equals the'bill_depth_mm'
; - Set the
hue
parameter equals the'species'
; - Set the
'viridis'
palette; - Set the data.
Set the inside plot using the .plot_joint()
function using the g
variable:
- Create a
scatterplot
using theseaborn
; - Set the
alpha
parameter equals0.5
; - Set the
'pink'
edgecolor
parameter; - Set the
linewidth
parameter equals1
.
Set the outside plot using the .plot_marginals()
function:
- Create the
histplot
using theseaborn
; - Add the
kde
parameter.