Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Pointplot | Categorical Plot Types
Deep Dive into the seaborn Visualization

Sveip for å vise menyen

book
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.

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

Swipe to start coding

  1. Set the 'ticks' style with the 'azure' axes.facecolor.
  2. Create the pointplot using the seaborn library and the g 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 the True;
  • Set the capsize parameter equals 0.2;
  • Set the next linestyles: '-' & '- -';
  • Set the data;
  • Display the plot.

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 3. Kapittel 6

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
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.

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

Swipe to start coding

  1. Set the 'ticks' style with the 'azure' axes.facecolor.
  2. Create the pointplot using the seaborn library and the g 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 the True;
  • Set the capsize parameter equals 0.2;
  • Set the next linestyles: '-' & '- -';
  • Set the data;
  • Display the plot.

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 3. 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