• Stars
    star
    212
  • Rank 182,284 (Top 4 %)
  • Language
    Jupyter Notebook
  • Created about 3 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Design your own matplotlib stylefile interactively

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