/prettyplots

Design your own matplotlib stylefile interactively

Primary LanguageJupyter Notebook

prettyplots

Design your own matplotlib stylefile interactively

Tired of playing with font sizes and other matplotlib parameters every time you start a new project or write a new plotting function? Want all you plots have the same style? Use matplotlib configuration files!

Great! But how do I set them up? Use this repo! Start a notebook and play with the parameters, save them into a file and use it in all of your future projects! Super simple!

How to use?

Simple, start a notebook and follow the instructions. You will get a 'prettyplots.mplstyle' as a result.

Add this to your code to use the stylefile:

plt.style.use('./prettyplots.mplstyle')

You can try this remotely using Binder

Binder