seaborn.choose_diverging_palette
- seaborn.choose_diverging_palette(as_cmap=False)
Launch an interactive widget to choose a diverging color palette.
This corresponds with the
diverging_palette()function. This kind of palette is good for data that range between interesting low values and interesting high values with a meaningful midpoint. (For example, change scores relative to some baseline value).Requires IPython 2+ and must be used in the notebook.
- Parameters:
- as_cmap : bool
If True, the return value is a matplotlib colormap rather than a list of discrete colors.
- Returns