3 ms·
Oh? I've looked at seaborn, but it didn't seem very ggplot-ish. No grammar going on. There's ggpy (formerly ggplot), but that also doesn't have a grammar going
by philh 9y ago
Oh? I've looked at seaborn, but it didn't seem very ggplot-ish. No grammar going on.
There's ggpy (formerly ggplot), but that also doesn't have a grammar going on under the hood, and on top of that it pretty directly translates ggplot's API to python. ggplot's API might be fine for R, but it's wildly unpythonic. ggpy doesn't understand where it's coming from or where it's going to. Plus it's buggy and incomplete and seems abandoned.
The one I'm currently looking at is plotnine, which keeps the API but at least it also keeps the grammar.
I was working on my own library until I found plotnine, with IMO a better API (and a rudimentary CLI). Now I'm looking at building it on top of plotnine, and when I have a POC I plan to get in touch with the author of that and see if he's interested in adopting it. (I think this is a long shot, but worth trying.)
- jasongrout 9y agoAnother library to look at these days in this area is Altair (https://altair-viz.github.io/ https://altair-viz.github.io/), which is based on the vega spec.
- has2k1 9y agoI am the author, do let me know what you are trying to do. I too have some ideas of what to add to plotnine or build on top of it.
- philh 9y agoI'll try to get in touch tomorrow. By default I'll open an issue on github, unless there's another way you'd prefer me to contact you?