-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
hoverlabel not working properly with subplots when resizing window #4971
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
@archmoj @antoinerg can you take a look at this plz? |
@mbkupfer do you think it is a regression? |
Looks like the expected behaviour to me. |
@archmoj couldn't say, this is my first time using this feature
For the hover data to not show? FWIW, this issue only comes up when I used |
For the hover not to show across subplots.
Am curious to see how the results look like. |
Oh, no...what I meant was that it simply didn't show. For example, in first screenshot, I get a unified hoverlabel on the first plot, but when I resize the window it no longer shows...all I get are the spikelines. The only subplot that shows hoverlabels at this point is the last one. |
@mbkupfer now could you please modify the issue title to better reflect the problem you observed? |
Here is a codepen to help illustrate the problem. |
And this is a regression since v1.54.2. |
Side effect of #4832 |
There is something buggy going on with my subplots using x unified
When creating the plot on its own, the hoverlabel is fine, but when I put it inside a dash app via dcc.Graph component, the labels don’t show. I created two versions in chart studio, one that is exported from the dash app and the second created using the
chart_studio
module.The latter works fine, but the former works initially, but then all but the last plot’s hover labels no longer work when the window is resized.
Any idea what is going on here?
Created using dash app via dcc.Graph: https://chart-studio.plotly.com/~mbkupfer/72/#/
Created using chart_studio (works good): https://chart-studio.plotly.com/~mbkupfer/70/#plot
Dependencies:
[Update]
It actually looks like this issue occurs in both created plots.
The text was updated successfully, but these errors were encountered: