3 ms·
I dislike violin plots because they don’t give a good sense of how many points there are overall, and this can be very misleading if you’re trying to compare se
by b_tterc_p 8y ago
I dislike violin plots because they don’t give a good sense of how many points there are overall, and this can be very misleading if you’re trying to compare segments of different size. They also look like female genitalia and I’m 100% serious when I say this tends to distract people for laughs.
I like swarm plots for this kind of task.
https://seaborn.pydata.org/generated/seaborn.swarmplot.html https://seaborn.pydata.org/generated/seaborn.swarmplot.html
Edit: well, I suppose I should clarify the comment on violin plots is implementation dependent and biased by my personal preferences for visualization libraries
- the8472 8y agoThe plots on that page seem to exhibit some clustering and weird shapes which might not be all that great for discrete data or if you have sampling artifacts since it distracts from the overall shape of the distribution. Showing the number of samples is good though. The combined version seems useful.
- wyldfire 8y ago> don’t give a good sense of how many points there are overall Consider inner="stick" from [1] instead. It probably comes closer to what you're looking for. [1] https://seaborn.pydata.org/generated/seaborn.violinplot.html https://seaborn.pydata.org/generated/seaborn.violinplot.html