olgabot / prettyplotlib

Painlessly create beautiful matplotlib plots.
olgabot.github.io/prettyplotlib
MIT License
1.69k stars 148 forks source link

Make ppl.pretty a context-decorator. #67

Closed anntzer closed 10 years ago

anntzer commented 10 years ago

ppl.pretty can now be used as a context manager to be entered before creating axes that should use ppl colors.

Partially fixes #52.

olgabot commented 10 years ago

Hey this looks great! You've been very active here, which is super appreciated. I'll merge this one and take a look at the rest thsi week. Thanks again!


Olga Botvinnik PhD Program in Bioinformatics and Systems Biology Gene Yeo Laboratory http://yeolab.ucsd.edu/yeolab/Home.html | Sanford Consortium for Regenerative Medicine University of California, San Diego www http://olgabotvinnik.com | blog http://blog.olgabotvinnik.com/ | github http://github.com/olgabot | twitter http://twitter.com/olgabot | linkedin http://www.linkedin.com/in/olgabotvinnik

On Tue, Jun 3, 2014 at 10:46 PM, Antony Lee notifications@github.com wrote:

ppl.pretty can now be used as a context manager to be entered before creating axes that should use ppl colors.

Partially fixes #52 https://github.com/olgabot/prettyplotlib/issues/52.

You can merge this Pull Request by running

git pull https://github.com/anntzer/prettyplotlib pretty-context-decorator

Or view, comment on, or merge it at:

https://github.com/olgabot/prettyplotlib/pull/67 Commit Summary

  • Make ppl.pretty a context-decorator.

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/olgabot/prettyplotlib/pull/67.