Kursinhalt
Deep Dive into the seaborn Visualization
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
Swarmplot
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.











Aufgabe
Swipe to start coding
- 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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 2
Swarmplot
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.











Aufgabe
Swipe to start coding
- 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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 2