plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

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

Open emmanuelle opened this issue 4 years ago • 25 comments

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.

emmanuelle avatar Apr 11 '20 14:04 emmanuelle

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

alexbhatt avatar Jul 01 '20 18:07 alexbhatt

I would also find this feature particularly useful.

GitJJ avatar Jul 15 '20 05:07 GitJJ

+1, would love to see this feature.

schoolie avatar Aug 12 '20 18:08 schoolie

+1, this would be great

g-deoliveira avatar Aug 14 '20 02:08 g-deoliveira

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.

nicolaskruchten avatar Aug 14 '20 12:08 nicolaskruchten

The solution for this issue is at the link below. https://stackoverflow.com/questions/63358465/scope-in-python-subplot-similar-to-matlabs-stackedplot

addarnr avatar Aug 14 '20 14:08 addarnr

The solution for this issue is at the link below

That question isn't about plotly ... ?

nicolaskruchten avatar Aug 14 '20 14:08 nicolaskruchten

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/

immartian avatar Apr 05 '21 04:04 immartian

+1, this would be very helpful

POI-Root avatar Oct 04 '21 06:10 POI-Root

+1

yhmickey avatar Nov 29 '21 13:11 yhmickey

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.

InvisOn avatar Dec 04 '21 22:12 InvisOn

+1

GreekQuant avatar Dec 11 '21 14:12 GreekQuant

+1 Probable duplicate: https://github.com/plotly/plotly.js/issues/2114

GlebMorgan avatar Dec 16 '21 14:12 GlebMorgan

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.

nicolaskruchten avatar Dec 16 '21 14:12 nicolaskruchten

+1

Disorrder avatar May 26 '23 16:05 Disorrder

+1

Sank-WoT avatar Jul 20 '23 02:07 Sank-WoT

+1

jacobrichey avatar Jul 28 '23 21:07 jacobrichey

+1

rudolferemyan avatar Sep 17 '23 07:09 rudolferemyan

+1

SIDD2310 avatar Sep 27 '23 13:09 SIDD2310

+1. Would love this feature too.

MarcSkovMadsen avatar Nov 17 '23 08:11 MarcSkovMadsen

+1 Still not in the road map ?

loicduffar avatar Dec 15 '23 19:12 loicduffar

+1

Sladerix avatar Jan 12 '24 15:01 Sladerix

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

Episkiliski avatar Jan 12 '24 15:01 Episkiliski

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

AlanCPSC avatar Jan 21 '24 06:01 AlanCPSC

+1 :)

walkerpayne avatar Feb 02 '24 18:02 walkerpayne

+1

chikko80 avatar Mar 09 '24 13:03 chikko80

+1

Cian-Byrne avatar Mar 11 '24 10:03 Cian-Byrne

+1

drypatrick avatar Mar 13 '24 12:03 drypatrick

+1

sde-cdsp avatar Mar 15 '24 10:03 sde-cdsp

+1

giudici-uturn avatar Mar 19 '24 12:03 giudici-uturn