plotnine.themes.theme_seaborn

class plotnine.themes.theme_seaborn(style='darkgrid', context='notebook', font='sans-serif', font_scale=1)[source]

Theme for seaborn.

Credit to Michael Waskom's seaborn:

Parameters:
style: str in ``['whitegrid', 'darkgrid', 'nogrid', 'ticks']``

Style of axis background.

context: str in ``['notebook', 'talk', 'paper', 'poster']``

Intended context for resulting figures.

fontstr

Font family, see matplotlib font manager.

font_scalefloat, optional

Separate scaling factor to independently scale the size of the font elements.