News for hackers. Stuff that matters.
Re:Xkcd-Style Plots in Matplotlib (2012) by Tarq0n on Sunday March 03, 2019 @07:19AM (#19294119)
Assuming all you want to do is make some graphs, almost every alternative is better. Matplotlib is like the opengl of plotting libraries, there's almost no abstraction, you have to create plots in an imperative way and it's extremely verbose.

A plotting library focused on useability should let you specify what you want in a declarative manner, then get out of your way. Ggplot2 being the prime example.

Re:Xkcd-Style Plots in Matplotlib (2012) by j88439h84 on Sunday March 03, 2019 @02:58PM (#19296454)
The good python port is https://github.com/has2k1/plotnine/
Re:Xkcd-Style Plots in Matplotlib (2012) by billfruit on Sunday March 03, 2019 @09:31AM (#19294577)
It seems to be somewhat inspired by Matlab, which isn't an elegant system by any stretch. And for the people who hasn't had exposure to matlab, matplotlib seems overly convoluted.
Re:Xkcd-Style Plots in Matplotlib (2012) by galenlynch on Sunday March 03, 2019 @10:08AM (#19294757)
Do you have any concrete examples for Python? As far as I know, ggplot2 is only for R. I would be interested to try out some alternatives to Matplotlib.
Re:Xkcd-Style Plots in Matplotlib (2012) by Tarq0n on Wednesday March 06, 2019 @06:32AM (#19318100)
Altair (based on vega-lite) is a personal favorite. Plotnine is also a good port of ggplot.
Re:Xkcd-Style Plots in Matplotlib (2012) by galenlynch on Wednesday March 06, 2019 @08:51AM (#19318847)
Thanks!