question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Violins and Boxes not always honoring 'group'

See original GitHub issue

I’m seeing some odd inconsistencies in overlay vs group modes with boxes/violins… In all of the following cases, violinmode = "group":

image

image

image

image

The last one is where the problem is: why are they overlaid?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolaskruchtencommented, Jan 7, 2019

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

image

0reactions
etpinardcommented, Jan 21, 2019
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found