Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Rugplot | Distributions of Data
Deep Dive into the seaborn Visualization
course content

Kursinhalt

Deep Dive into the seaborn Visualization

Deep Dive into the seaborn Visualization

1. Light Start
2. Distributions of Data
3. Categorical Plot Types
4. Matrix Plots
5. Multi-Plot Grids
6. Regression Models

book
Rugplot

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

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Aufgabe

Swipe to start coding

  1. 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.
  2. Create the kdeplot using the seaborn library.
  3. Create the rugplot using the seaborn library:
  • Set the x parameter equals the 'total_bill';
  • Set the hue parameter equals the 'sex';
  • Set the height parameter equals 0.05;
  • Set the 'magma' palette;
  • Set the data using the df;
  • Display the plot.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 3
toggle bottom row

book
Rugplot

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

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Aufgabe

Swipe to start coding

  1. 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.
  2. Create the kdeplot using the seaborn library.
  3. Create the rugplot using the seaborn library:
  • Set the x parameter equals the 'total_bill';
  • Set the hue parameter equals the 'sex';
  • Set the height parameter equals 0.05;
  • Set the 'magma' palette;
  • Set the data using the df;
  • Display the plot.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 3
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
We're sorry to hear that something went wrong. What happened?
some-alt