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
course content

Kursusindhold

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
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
Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 6
toggle bottom row

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
Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 6
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt