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.











Uppgift
Swipe to start coding
- Set the
'ticks'
style with the'azure'
axes.facecolor
. - Create the
pointplot
using theseaborn
library and theg
variable:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'tip'
; - Set the
hue
parameter equals the'sex'
; - Set
'v'
&'o'
markers
; - Set the
'rocket'
palette
; - Set the
dodge
parameter equals theTrue
; - Set the
capsize
parameter equals0.2
; - Set the next
linestyles
:'-'
&'- -'
; - Set the data;
- Display the plot.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.35
Pointplot
Svep för att visa menyn
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.











Uppgift
Swipe to start coding
- Set the
'ticks'
style with the'azure'
axes.facecolor
. - Create the
pointplot
using theseaborn
library and theg
variable:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'tip'
; - Set the
hue
parameter equals the'sex'
; - Set
'v'
&'o'
markers
; - Set the
'rocket'
palette
; - Set the
dodge
parameter equals theTrue
; - Set the
capsize
parameter equals0.2
; - Set the next
linestyles
:'-'
&'- -'
; - Set the data;
- Display the plot.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 4.35Avsnitt 3. Kapitel 6
single