Live data from Hacker News

Plotnine

plotnine.org

81–83 of 83 posts

Re: Plotnine

#81
post #61
post #51

Earlier quoted context omitted.

Violin plots have an interesting reputation ( https://xkcd.com/1967/ , https://www.reddit.com/r/labrats/comments/91ex4u/is_it_just_... , https://jabde.com/2022/12/22/banned-violin-plots/ ). For showing distributions, I much prefer strip plots ( https://seaborn.pydata.org/generated/seaborn.stripplot.html ), perhaps with opacity, or swarm plots ( https://seaborn.pydata.org/generated/seaborn.swarmplot.html ) - no averag…

Another alternative is raincloud plot (depending on data).

I didn't know it has a name. But I have been using similar thing, https://github.com/harbor-framework/terminal-bench-science/p...

Re: Plotnine

#82
post #81
post #61

Earlier quoted context omitted.

Another alternative is raincloud plot (depending on data).

I didn't know it has a name. But I have been using similar thing, https://github.com/harbor-framework/terminal-bench-science/p...

Interesting. Btw I agree with some of the comments. The framing/language of the question is a bit weird.

Re: Plotnine

#83

Earlier quoted context omitted.

kwargs exists, and is rather more pythonic. Just pass the kwargs dict to a standard formatting function, et voila.

Sadly, this drive towards the API design that matplotlib resembles, the raison d'etre of this library is the unusual (imho, great) API

Could you elaborate on what exactly does such syntax provide over kwargs? To me it looks like verbatim x=a, y=b replaced by x(a)+y(b) in the argument section.
Post reply on HN