-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add legendgroup for annotations #4680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@nicolaskruchten not sure who to go to, but are you open to a PR with this feature? |
Interesting idea! I think that would make sense to me, yes. @alexcjohnson thoughts? Better to tie it to a trace UID instead maybe? |
Yeah, nice! I think I agree with @nicolaskruchten that tying to a trace UID would be cleaner. That way you can still group traces using Also would be cool to do the same thing for shapes! Now, what attribute name? Perhaps |
Interesting! I have actually never come upon the trace uid -- could you point me to some documentation for how I'd discover and link it? |
Hi! Any update on this? Would be a really useful feature to have. |
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 |
I would still be interested by this feature. Currently using |
I agree, this would definitely be a useful feature. I use R plotly, currently |
One common use case I have run into for annotations is in multi-trace plots to have a series of annotations (one per trace) that each describe the same quality in their respective data. For use cases like this, where annotations are associated with specific traces, it would be awesome to be able to give them a
legendgroup
attribute so that they can be shown/hidden in the exact same situations as the traces they correspond to (turns out it's hard to replicate Plotly's native trace show/hide behavior with plotly_legendclick/doubleclick).The text was updated successfully, but these errors were encountered: