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

PointplotPointplot

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

Tarefa

  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.

Tudo estava claro?

Seção 3. Capítulo 6
toggle bottom row
course content

Conteúdo do Curso

Deep Dive into the seaborn Visualization

Deep Dive into the seaborn Visualization

PointplotPointplot

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

Tarefa

  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.

Tudo estava claro?

Seção 3. Capítulo 6
toggle bottom row
some-alt