seaborn.
set_style
(style=None, rc=None)¶Set the aesthetic style of the plots.
This affects things like the color of the axes, whether a grid is enabled by default, and other aesthetic elements.
Parameters: | style : dict, None, or one of {darkgrid, whitegrid, dark, white, ticks}
rc : dict, optional
|
---|
See also
axes_style
with
statement to temporarily set the style.set_context
set_palette
Examples
>>> set_style("whitegrid")
>>> set_style("ticks", {"xtick.major.size": 8, "ytick.major.size": 8})