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

Contenu du cours

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
Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 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
Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 6
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
We're sorry to hear that something went wrong. What happened?
some-alt