Pandas has the best plotting for NumPy... and matplotlib for that matter.
Gnuplotlib: A gnuplot-based plotting backend for NumPy
11–20 of 69 posts
Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#12What's wrong with matplotlib? I might be living under a rock...
Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#13By the estimation of one esteemed colleague "it obviously pays back the time investment in less than a couple of days". I agree.
Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#14What's wrong with matplotlib? I might be living under a rock...
The graphs look as good to my eye as what I see in papers, but I have no idea what extra steps are needed to satisfy each journal's style guide.
Before Matplotlib, I created graphs in Excel.
A possible question is whether Matplotlib deserves the status of being the default for teaching scientific programming in Python, or if a different tool would make it easier for beginners.
Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#15Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#16By far and away the best python plotting library is plotnine, a python clone of ggplot maintained by Hassan Kibirige from Uganda. By the estimation of one esteemed colleague "it obviously pays back the time investment in less than a couple of days". I agree.
(ggplot(mtcars, aes("wt", "mpg", color="factor(gear)"))
+ geom_point()
+ stat_smooth(method="lm")
+ facet_wrap("~gear"))
From https://github.com/has2k1/plotnine, their front page examples. I get that it's ripping off the ggplot api, but why would they not alias "aes" to something more meaningful? It stands for "aesthetic mapping".My problem with all the popular plotting libraries in python is they seem designed for researchers slapping together a paper and produce code that's awful to maintain.
Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#17> _with is a curve option that indicates how this dataset should be plotted. It’s _with and not with because the latter is a built-in keyword in Python. [1]
- [1] https://github.com/dkogan/gnuplotlib/blob/master/guide/guide...
Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#18By far and away the best python plotting library is plotnine, a python clone of ggplot maintained by Hassan Kibirige from Uganda. By the estimation of one esteemed colleague "it obviously pays back the time investment in less than a couple of days". I agree.
I see the potential long term but that api is unintuitive at best. It almost seems obstructively terse. (ggplot(mtcars, aes("wt", "mpg", color="factor(gear)")) + geom_point() + stat_smooth(method="lm") + facet_wrap("~gear")) From https://github.com/has2k1/plotnine , their front page examples. I get that it's ripping off the ggplot api, but why would they not alias "aes" to something more meaningful? It stands for "ae…
Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#19Re: Gnuplotlib: A gnuplot-based plotting backend for NumPy
#20By far and away the best python plotting library is plotnine, a python clone of ggplot maintained by Hassan Kibirige from Uganda. By the estimation of one esteemed colleague "it obviously pays back the time investment in less than a couple of days". I agree.
I see the potential long term but that api is unintuitive at best. It almost seems obstructively terse. (ggplot(mtcars, aes("wt", "mpg", color="factor(gear)")) + geom_point() + stat_smooth(method="lm") + facet_wrap("~gear")) From https://github.com/has2k1/plotnine , their front page examples. I get that it's ripping off the ggplot api, but why would they not alias "aes" to something more meaningful? It stands for "ae…
This criticism doesn't do anything for me.
Is an alias for a 3 letter function name really going to improve readability / usability? It's the same API. Take it up with Hadley Wickham.
I think having one interface that is the same (ok, "mostly the same") for R and Python is a blessing for people who work with both. I don't graph with Python much, but every time I have to plot in Python I sigh and ask myself if it would be easier to just import the data into R.