Forum Archive

Matplotlib and style sheets

KlMa

I am not able to get matplotlib style sheets to work in Pythonista. Any tips?
http://matplotlib.org/examples/style_sheets/plot_ggplot.html

JonB
>>> import matplotlib
>>> matplotlib.__version__
'1.3.1'

see
https://github.com/tonysyu/mpltools

this was incorporated into mpl 1.4. you can download and install mpltools to gain that functionality

KlMa

Thanks! And then the next question, is there a "official" Pythonista way how to install new modules? When i search around there seem to be several ways to do it. Pipista, stash and others. Is there a step by step instruction a newbie like me can follow?

JonB

stash is the best supported at the moment. install stash, then use the pip command. https://gituub.com/ywangd/stash.git