You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using plotly.js for a few month now (great work by the way) and noticed that since 1.50 legend groups are no longer aligned. As you can see in the attached example the 5th group is not aligned with the 2nd.
Is this an expected behaviour?
That said, a breaking change is a breaking change, so I'll tag this as type: bug. If some people like the current (post v1.50.0) behaviour better, maybe we should think about adding a new grouped legend option.
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson
Activity
archmoj commentedon Nov 6, 2019
Possibly related to #4160.
etpinard commentedon Nov 19, 2019
That's correct, the behaviour changed after #4160 (released in
v1.50.0).I didn't intend to change it (see pre-1.50.0 behaviour here: https://codepen.io/etpinard/pen/abbXKpM), but I can't say which behaviour is better. What do you think @mjordan84 and @archmoj ?
That said, a breaking change is a breaking change, so I'll tag this as
type: bug. If some people like the current (postv1.50.0) behaviour better, maybe we should think about adding a new grouped legend option.This ticket is somewhat related to #960
etpinard commentedon Nov 19, 2019
current:
pre
v1.50.0mjordan84 commentedon Nov 19, 2019
@etpinard as you said both seems valid. The new behaviour is a bit more problematic when only the first Item of each legend group is visible.

etpinard commentedon Nov 19, 2019
You mean when all but the first trace of each group has
showlegend: false?mjordan84 commentedon Nov 19, 2019
Yes @etpinard , when the first element of each group has
showlegend: truethen the rest set tofalsein that group.https://codepen.io/mjordan84/pen/GRRzXoz
gvwilson commentedon Jun 17, 2024
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson
mjordan84 commentedon Jun 17, 2024
The issue is still present in the latest version.
gvwilson commentedon Jun 18, 2024
Thanks @mjordan84 - I'll reopen it and try to get it into our backlog