Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

tidepool

A light, minimal plotting theme with soft coastal colors and serif (or sans) typography. Available for both matplotlib/seaborn and plotly.

Gallery

Matplotlib / Seaborn

Matplotlib gallery

Plotly

Plotly gallery

Interactive version

Installation

pip install tidepool-theme

Or with specific backends only:

pip install "tidepool-theme[mpl]"
pip install "tidepool-theme[plotly]"
pip install "tidepool-theme[all]"

Usage

Matplotlib / Seaborn

importtidepooltidepool.set_mpl_style()
# seaborn inherits the style automaticallyimportseabornassnssns.scatterplot(...)

Pass font="sans" for Inter instead of the default Source Serif 4.

Note: calling sns.set_theme() after set_mpl_style() will override the style. Use seaborn plotting functions directly instead.

Plotly

importtidepooltidepool.set_plotly_template()
importplotly.expressaspxfig=px.scatter(...) # uses tidepool template by default

Pass font="sans" for Inter instead of the default Source Serif Pro.

What's included

  • Background:#fafafa — light warm gray
  • Fonts:Source Serif 4 (default) and Inter (opt-in via font="sans"), both bundled under SIL Open Font License. Plotly uses Source Serif Pro / Inter via Google Fonts / system fallback.
  • Color cycle: 34 soft coastal tones starting with lightseagreen, lightsalmon, steelblue
  • Colormaps:purpor / purpor_r (sequential) and tealrose / tealrose_r (diverging), from CARTOColors
  • Layout: no grid, left+bottom spines only, clean axis lines

License

MIT

About

A light, minimal plotting theme with soft coastal colors and serif (or sans) typography

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages