I have heard it said that plotnine is "not Pythonic". I explore this claim here and I conclude that perhaps the claim is strongest with the need to either say from plotnine import * (or at least from plotnine import [lots of things]) or make the code ugly with import plotnine as p9 and then p9.ggplot(p9.aes()) + p9.geom() + ....
With the help of Codex, I made a feature branch that provides a more "methods-based" interface on a fork here. The code changes seem quite non-invasive.
I think the "methods-based" code looks quite Pythonic. I also made a demo site here and everything seems to "just work" so far.
I have heard it said that
plotnineis "not Pythonic". I explore this claim here and I conclude that perhaps the claim is strongest with the need to either sayfrom plotnine import *(or at leastfrom plotnine import [lots of things]) or make the code ugly withimport plotnine as p9and thenp9.ggplot(p9.aes()) + p9.geom() + ....With the help of Codex, I made a feature branch that provides a more "methods-based" interface on a fork here. The code changes seem quite non-invasive.
I think the "methods-based" code looks quite Pythonic. I also made a demo site here and everything seems to "just work" so far.