Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sns seaborn set theme

seaborn.set_theme(context='notebook', style='darkgrid', palette='deep', font='sans-serif', 
                  font_scale=1, color_codes=True, rc=None)
# Parameters
# contextstring or dict
# Scaling parameters, see plotting_context().

# stylestring or dict
# Axes style parameters, see axes_style().

# palettestring or sequence
# Color palette, see color_palette().

# fontstring
# Font family, see matplotlib font manager.

# font_scalefloat, optional
# Separate scaling factor to independently scale the size of the font elements.

# color_codesbool
# If True and palette is a seaborn palette, remap the shorthand color codes (e.g. “b”, “g”, “r”, etc.) to the colors from this palette.

# rcdict or None
# Dictionary of rc parameter mappings to override the above.
 
PREVIOUS NEXT
Tagged: #sns #seaborn #set #theme
ADD COMMENT
Topic
Name
8+7 =