seaborn.
choose_colorbrewer_palette
(data_type, as_cmap=False)¶Select a palette from the ColorBrewer set.
These palettes are built into matplotlib and can be used by name in many seaborn functions, or by passing the object returned by this function.
Parameters: | data_type : {‘sequential’, ‘diverging’, ‘qualitative’}
as_cmap : bool
|
---|---|
Returns: | pal or cmap : list of colors or matplotlib colormap
|
See also
dark_palette
light_palette
diverging_palette
cubehelix_palette