plotnine.theme_seaborn

theme_seaborn(
    style="darkgrid", context="notebook", font="sans-serif", font_scale=1
)

Theme for seaborn.

Credit to Michael Waskom’s seaborn:

- http://stanford.edu/~mwaskom/software/seaborn
- https://github.com/mwaskom/seaborn

Parameters

style = "darkgrid"

Style of axis background.

context = "notebook"

Intended context for resulting figures.

font : str = "sans-serif"

Font family, see matplotlib font manager.

font_scale : float = 1

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