olgabot/prettyplotlib

Moving ppl.general to ppl

Closed this issue · 2 comments

I would like to suggest removing ppl.general (or keeping it as a stub for backwards compatibility) and moving the definitions of ppl.subplots and ppl.subplot2grid directly to prettyplotlib/__init__.py. Why? Because I don't think anyone ever imports subplots and subplot2grid from ppl.general, and this way the docs for subplots and subplot2grid will actually appear when running pydoc prettyplotlib, rather than having to remember in which submodule they are defined.

As a side note it's not clear what scatter_column is doing in prettyplotlib/__init__.py either...

Thank you for your comment. Unfortunately, I no longer have the bandwidth to maintain prettyplotlib. I recommend using seaborn. Using seaborn, to get the prettyplotlib style, do:

import seaborn as sns
sns.set(style='ticks', palette='Set2')

And to remove "chartjunk", do:

sns.despine()

If you have discrete pull requests, I will accept them, but I personally will no longer fix bugs.

If you are a biological scientist looking for ways to analyze your big-ish (20+ samples) data, check out my main project, flotilla.

That's too bad, I guess I'll switch to seaborn then. Still, thanks for your work with prettyplotlib!