Conteúdo do Curso
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
Deep Dive into the seaborn Visualization
Swarmplot
![](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/deep+dive/d7.png)
The swarmplot
is similar to stripplot
. Only the points are adjusted so they won't overlap, as it helps to represent the distribution of values better.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+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/swarmplot+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/swarmplot+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/swarmplot+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/swarmplot+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/swarmplot+gif/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/9.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/10.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/11.gif?w=3840&q=75)
Tarefa
- Set the
'whitegrid'
style with the'seashell'
axes.facecolor
. - Create the
swarmplot
using theseaborn
library:
x
parameter equals the'day'
;- Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals the'sex'
; - Set the
linewidth
parameter equals1
; - Set the
size
parameter equals2
; - Set the
dodge
parameter equals theTrue
; - Set the
'rocket'
palette.
Tudo estava claro?
Seção 3. Capítulo 2
Conteúdo do Curso
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
Deep Dive into the seaborn Visualization
Swarmplot
![](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/deep+dive/d7.png)
The swarmplot
is similar to stripplot
. Only the points are adjusted so they won't overlap, as it helps to represent the distribution of values better.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+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/swarmplot+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/swarmplot+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/swarmplot+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/swarmplot+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/swarmplot+gif/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/9.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/10.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/swarmplot+gif/11.gif?w=3840&q=75)
Tarefa
- Set the
'whitegrid'
style with the'seashell'
axes.facecolor
. - Create the
swarmplot
using theseaborn
library:
x
parameter equals the'day'
;- Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals the'sex'
; - Set the
linewidth
parameter equals1
; - Set the
size
parameter equals2
; - Set the
dodge
parameter equals theTrue
; - Set the
'rocket'
palette.
Tudo estava claro?
Seção 3. Capítulo 2