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

Kursinnhold

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
Displot

Note

displot = FacetGrid(we will study this plot later) + histplot/kdeplot/ecdfplot

The displot provides access to several approaches for visualizing the univariate or bivariate distribution of data, including subsets of data defined by semantic mapping and faceting across multiple subplots.

The kind parameter selects the approach to use: histplot, kdeplot, ecdfplot.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Oppgave

Swipe to start coding

  1. Set the 'darkgrid' style.
  2. Create the displot using the seaborn library:
  • Set the x parameter equals the 'carat';
  • Set the hue parameter equals the 'cut';
  • Set the col parameter equals the 'color';
  • Set the kind parameter equals the 'kde';
  • Set the multiple parameter equals the 'fill';
  • Set the palette equals the 'viridis';
  • Set the data.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 6
toggle bottom row

book
Displot

Note

displot = FacetGrid(we will study this plot later) + histplot/kdeplot/ecdfplot

The displot provides access to several approaches for visualizing the univariate or bivariate distribution of data, including subsets of data defined by semantic mapping and faceting across multiple subplots.

The kind parameter selects the approach to use: histplot, kdeplot, ecdfplot.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Oppgave

Swipe to start coding

  1. Set the 'darkgrid' style.
  2. Create the displot using the seaborn library:
  • Set the x parameter equals the 'carat';
  • Set the hue parameter equals the 'cut';
  • Set the col parameter equals the 'color';
  • Set the kind parameter equals the 'kde';
  • Set the multiple parameter equals the 'fill';
  • Set the palette equals the 'viridis';
  • Set the data.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 6
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt