Pointplot
A pointplot represents an estimate of the central tendency for a numeric variable by the position of scatter plot points and provides some indication of the uncertainty around that estimate using error bars.











Opgave
Swipe to start coding
- Set the
'ticks'style with the'azure'axes.facecolor. - Create the
pointplotusing theseabornlibrary and thegvariable:
- Set the
xparameter equals the'day'; - Set the
yparameter equals the'tip'; - Set the
hueparameter equals the'sex'; - Set
'v'&'o'markers; - Set the
'rocket'palette; - Set the
dodgeparameter equals theTrue; - Set the
capsizeparameter equals0.2; - Set the next
linestyles:'-'&'- -'; - Set the data;
- Display the plot.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
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
Pointplot
Stryg for at vise menuen
A pointplot represents an estimate of the central tendency for a numeric variable by the position of scatter plot points and provides some indication of the uncertainty around that estimate using error bars.











Opgave
Swipe to start coding
- Set the
'ticks'style with the'azure'axes.facecolor. - Create the
pointplotusing theseabornlibrary and thegvariable:
- Set the
xparameter equals the'day'; - Set the
yparameter equals the'tip'; - Set the
hueparameter equals the'sex'; - Set
'v'&'o'markers; - Set the
'rocket'palette; - Set the
dodgeparameter equals theTrue; - Set the
capsizeparameter equals0.2; - Set the next
linestyles:'-'&'- -'; - Set the data;
- Display the plot.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single