How can I share matplotlib style?

Viewed 2332

One can load a custom plotting style in matplotlib with something like:

>>> import matplotlib.pyplot as plt
>>> plt.style.use('ggplot')

And I know that I can create my own, http://matplotlib.org/users/style_sheets.html explains how.

Let's say that I create an amazing matplotlib style -- how can I share this with other people? Is there a way to do it with pip/conda or something else appropriate?

The docs include the suggestion to "create custom styles and use them by calling style.use with the path or URL to the style sheet." -- so I guess that I could maintain a link w/ that on some public git repository, and people would just get the most recent style if they put that URL?

2 Answers
Related