seaborn.
set_palette
(palette, n_colors=None, desat=None, color_codes=False)¶Set the matplotlib color cycle using a seaborn palette.
Parameters: | palette : seaborn color paltte | matplotlib colormap | hls | husl
n_colors : int
desat : float
color_codes : bool
|
---|
See also
color_palette
with
statement.set_context
set_style
Examples
>>> set_palette("Reds")
>>> set_palette("Set1", 8, .75)