Skip to content

garland-culbreth/nord-matplotlib

Repository files navigation

Nord Matplotlib Styles

Nord themed stylesheets for Matplotlib. Styles strongly inspired by Seaborn.

Installation and Use

Download the mplstyle files and save them to your Matplotlib style library. To locate your Matplotlib style library, run:

import matplotlib
matplotlib.get_configdir()

in an active environment. In the directory returned by the command, look for a subdirectory named stylelib; you may need to create one. Save the downloaded .mplstyle files in the stylelib directory.

Once the styles are in mpl_configdir/stylelib you can load them with plt.style.use(). For example:

import matplotlib.pyplot as plt
plt.style.use("nord")

The styles work best when used together with Seaborn, especially sns.despine().

All styles have a font stack that attempts to use Roboto, then falls back on Helvetica or Arial, then falls back on Matplotlib defaults. Roboto is available for free on Google fonts.

Examples

nord

nord

nord-talk

nord-talk

nord-light

nord-light

nord-light-talk

nord-light-talk

nord-dark

nord-dark

nord-dark-talk

nord-dark-talk

About

Nord themed style sheets for Matplotlib.

Resources

License

Stars

Watchers

Forks

Packages

No packages published