Skip to content
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

[FEAT] "x unified" hover mode working across subplots #4755

Closed
emmanuelle opened this issue Apr 11, 2020 · 33 comments · Fixed by #6947
Closed

[FEAT] "x unified" hover mode working across subplots #4755

emmanuelle opened this issue Apr 11, 2020 · 33 comments · Fixed by #6947

Comments

@emmanuelle
Copy link
Contributor

This would make it possible to display the information of several subplots in the same hoverbox. Probably this would need an attribute since this behaviour is not desired in all cases.

@alexbhatt
Copy link

it would be most helpful, particularly in visualizing across COVID time series for multiple graphs; linked across R and python functionality.

@GitJJ
Copy link

GitJJ commented Jul 15, 2020

I would also find this feature particularly useful.

@schoolie
Copy link

+1, would love to see this feature.

@g-deoliveira
Copy link

+1, this would be great

@nicolaskruchten
Copy link
Contributor

Thanks for the enthusiasm, folks! It's a good feature and we'd love to have it in the library but it's not on anyone's roadmap at the moment. That said, we as maintainers would be happy to help someone from the community to implement it, or to accept sponsorship to get it on to our short-term roadmap :)

A few notes re how this might work at the schema/behaviour level... This would need to be one or likely a few new accepted values for hovermode: we currently accept closest, x and x unified. In both the latter cases, hovering over a trace linked to a given pair of x and y axes causes hover labels to appear for each trace linked the same x/y axis pair. We would need a variant on both x and x unified, perhaps something like all x and all x unified, which would cause hover labels to appear for every trace linked to the same x axis, regardless of y axis. We would also need to think about "matched" axes, and this could be yet another flavour of hovermode (all x and matched x?). We'd also need to think about what this would visually look like in unified mode: would there be one unified label per x/y pair or one big unified label near the cursor? We'd also need to take into consideration spikelines, especially with matched axes.

@addarnr

This comment has been minimized.

@nicolaskruchten

This comment has been minimized.

@immartian
Copy link

it would be most helpful, particularly in visualizing across COVID time series for multiple graphs; linked across R and python functionality.

exactly, like this one https://covid19-projections.com/path-to-herd-immunity/

@POI-Root
Copy link

POI-Root commented Oct 4, 2021

+1, this would be very helpful

@yhmickey
Copy link

+1

@InvisOn
Copy link

InvisOn commented Dec 4, 2021

Using the Generic Crossfilter Recipe may be a suitable alternative for some people. I've used it with some success to highlight points across subplots.

@GreekQuant
Copy link

+1

@GlebMorgan
Copy link

GlebMorgan commented Dec 16, 2021

+1
Probable duplicate: #2114

@nicolaskruchten
Copy link
Contributor

Yes, this is a duplicate of #2114 and in the same state: it's very unlikely that anyone on the Plotly team can work on this without a financial sponsor, although we'd be happy to work with someone from the community who wants to implement this themselves and submit a pull request.

@Disorrder
Copy link

+1

4 similar comments
@Sank-WoT
Copy link

+1

@jacobrichey
Copy link

+1

@rudolferemyan
Copy link

+1

@SIDD2310
Copy link

+1

@MarcSkovMadsen
Copy link

+1. Would love this feature too.

@loicduffar
Copy link

+1
Still not in the road map ?

@Sladerix
Copy link

+1

@Episkiliski
Copy link

Episkiliski commented Jan 12, 2024

+1.
This would really make a difference using Plotly from my point of view.

@AlanCPSC
Copy link

+1
Related bug here: add_hline() breaks when axis is shared

@walkerpayne
Copy link

+1 :)

@chikko80
Copy link

chikko80 commented Mar 9, 2024

+1

@Cian-Byrne
Copy link

+1

4 similar comments
@drypatrick
Copy link

+1

@sde-cdsp
Copy link

+1

@giudici-uturn
Copy link

+1

@raja-jain-skydio
Copy link

+1

@drypatrick
Copy link

I found how to make it works, check out the codepen

@archmoj
Copy link
Contributor

archmoj commented Apr 5, 2024

This would be resolved by #6947.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet