Violins and Boxes not always honoring 'group'
See original GitHub issueI’m seeing some odd inconsistencies in overlay vs group modes with boxes/violins… In all of the following cases, violinmode = "group"
:
The last one is where the problem is: why are they overlaid?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Understanding the Emotions & Market Forces That Affect the ...
An inside look at the many factors that can affect the value of old and new violins By Philip Kass News stories about...
Read more >Hey everybody! So, I was just given my grandfather's violin ...
Hey everybody! So, I was just given my grandfather's violin after it has been stashed in a closet since before he died (about...
Read more >Untitled
The violin plot combines the basic summary statistics of a box plot with the visual information provided by a local density estimator. The...
Read more >9 Visualizing many distributions at once - Claus O. Wilke
A guide to making visualizations that accurately reflect the data, tell a story, and look professional.
Read more >Randall Goosby, violin Virginia Arts Festival - SevenVenues
SevenVenues is not responsible for tickets purchased anywhere other than Ticketmaster or through the Scope Arena Box Office and will not honor, exchange,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, so the reason it’s not grouping is because of this block: https://github.com/plotly/plotly.js/blob/364cdec83e862e076ab02400b814ed9566777351/src/traces/box/cross_trace_calc.js#L80-L84
I’m not super clear on what it’s doing or why but temporarily deleting that block does force things back into grouping mode, like it says in the comment. BUT I then get this odd behaviour, where it’s grouping “too much”… it’s like it doesn’t think that the various “female” groups are the same and so it’s leaving a bunch of extra room in each subplot 😃 … split off into #3402
done in https://github.com/plotly/plotly.js/pull/3445