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 have large data sets, which have a fat tail, i.e. looks like having an outlier.
I use scattergl aiming for fast zooming. As shown in https://plotly.com/javascript/webgl-vs-svg
or in the example below, one million points can be done. However, if one point is set as an outlier, then zooming becomes very
slow. I don't understand this, and spent quite some time to pin down the problem.
Thanks for looking into the issue and the hover hint.
When setting hovermode: false in layout, then the zoom speed feels similar both cases. That helps for now.
Activity
alexcjohnson commentedon May 3, 2022
Thanks for digging in to this @mzechmeister - I suspect this case is problematic for our clustering algorithm for hover
plotly.js/src/traces/scattergl/calc.js
Line 78 in 042742d
mzechmeister commentedon May 4, 2022
Thanks for looking into the issue and the hover hint.
When setting
hovermode: falseinlayout, then the zoom speed feels similar both cases. That helps for now.CallumNZ commentedon Feb 21, 2023
I'm running into a similar problem. Some examples from one data set:
Range: 04-Feb to 21-Feb
Points: 103066
Lag on zoom? YES
Range: 04-Feb to 21-Feb, removing points from the middle that were outliers/not showing the same wave pattern.
Points: 85165
Lag on zoom? YES
Range: 06-Feb to 21-Feb
Points: 91866
Lag on zoom? NO
Range: 01-Feb to 17-Feb
Points: 97920
Lag on zoom? NO
Range: 01-Feb to 18-Feb
Points: 103680
Lag on zoom? YES
Setting
hover mode: falseas a workaround works as mentioned above.