Lmplot
Note
lmplot
=FacetGrid
+regplot












Opgave
Swipe to start coding
- Set the
'darkgrid'
style with the'lightpink'
figure.facecolor
. - Create a
lmplot
using theseaborn
library:
- Set the
x
parameter equals the'total_bill'
; - Set the
y
parameter equals the'tip'
; - Set the
hue
parameter equals'smoker'
; - Set the
col
parameter equals the'sex'
; - Set the
'o'
and'x'
markers
; - Set the
'crest'
palette
; - Set the data;
- Display the plot.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 6. Kapitel 2
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Opsummér dette kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.35
Lmplot
Stryg for at vise menuen
Note
lmplot
=FacetGrid
+regplot












Opgave
Swipe to start coding
- Set the
'darkgrid'
style with the'lightpink'
figure.facecolor
. - Create a
lmplot
using theseaborn
library:
- Set the
x
parameter equals the'total_bill'
; - Set the
y
parameter equals the'tip'
; - Set the
hue
parameter equals'smoker'
; - Set the
col
parameter equals the'sex'
; - Set the
'o'
and'x'
markers
; - Set the
'crest'
palette
; - Set the data;
- Display the plot.
Løsning
Var alt klart?
Tak for dine kommentarer!
Awesome!
Completion rate improved to 4.35Sektion 6. Kapitel 2
single