Rugplot
The rugplot is intended to complement other plots by showing the location of individual observations in an unobtrusive way.






Compito
Swipe to start coding
- Set the
'darkgrid'style with the disabled'axes.grid'and the'axes.facecolor'equals the'aliceblue'(color). We learned how to do that in the first part of the course. - Create the
kdeplotusing theseabornlibrary. - Create the
rugplotusing theseabornlibrary:
- Set the
xparameter equals the'total_bill'; - Set the
hueparameter equals the'sex'; - Set the
heightparameter equals0.05; - Set the
'magma'palette; - Set the data using the
df; - Display the plot.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 3
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Riassuma questo capitolo
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.35
Rugplot
Scorri per mostrare il menu
The rugplot is intended to complement other plots by showing the location of individual observations in an unobtrusive way.






Compito
Swipe to start coding
- Set the
'darkgrid'style with the disabled'axes.grid'and the'axes.facecolor'equals the'aliceblue'(color). We learned how to do that in the first part of the course. - Create the
kdeplotusing theseabornlibrary. - Create the
rugplotusing theseabornlibrary:
- Set the
xparameter equals the'total_bill'; - Set the
hueparameter equals the'sex'; - Set the
heightparameter equals0.05; - Set the
'magma'palette; - Set the data using the
df; - Display the plot.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 3
single