seaborn.set
优质
小牛编辑
136浏览
2023-12-01
seaborn.set(context='notebook', style='darkgrid', palette='deep', font='sans-serif', font_scale=1, color_codes=True, rc=None)
Set aesthetic parameters in one step.
Each set of parameters can be set directly or temporarily, see the referenced functions below for more information.
参数:context
:string or dict
Plotting context parameters, see
plotting_context()
style
:string or dict
Axes style parameters, see
axes_style()
palette
:string or sequence
Color palette, see
color_palette()
font
:string
Font family, see matplotlib font manager.
font_scale
:float, optional
Separate scaling factor to independently scale the size of the font elements.
color_codes
:bool
If
True
andpalette
is a seaborn palette, remap the shorthand color codes (e.g. “b”, “g”, “r”, etc.) to the colors from this palette.
rc
:dict or None
Dictionary of rc parameter mappings to override the above.