0.11.2
  • Gallery
  • Tutorial
  • API
  • Site
      • Introduction
      • Release notes
      • Installing
      • Example gallery
      • Tutorial
      • API reference
      • Citing
      • Archive
  • Page
      • seaborn.choose_light_palette

seaborn.choose_light_palette¶

seaborn.choose_light_palette(input='husl', as_cmap=False)¶

Launch an interactive widget to create a light sequential palette.

This corresponds with the light_palette() function. This kind of palette is good for data that range between relatively uninteresting low values and interesting high values.

Requires IPython 2+ and must be used in the notebook.

Parameters
input{‘husl’, ‘hls’, ‘rgb’}

Color space for defining the seed value. Note that the default is different than the default input for light_palette().

as_cmapbool

If True, the return value is a matplotlib colormap rather than a list of discrete colors.

Returns
pal or cmaplist of colors or matplotlib colormap

Object that can be passed to plotting functions.

See also

light_palette

Create a sequential palette with bright low values.

dark_palette

Create a sequential palette with dark low values.

cubehelix_palette

Create a sequential palette or colormap using the cubehelix system.

Back to top

© Copyright 2012-2021, Michael Waskom. Created using Sphinx 3.3.1.