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
{{ message }}
Repository navigation
Regression bug: LASSOing has become significantly slower #1216
Strange. Again, this might be Windows-specific weirdness.
To help isolate the issue, it would be great if you could (try to) replicate these issues with pure plotly.js. I have a codepen here where you can switch scatter to scattergl to switch from SVG to WebGL. Also, feel free to play with different versions (version 1.33.0 was when the scattergl rewrite happened) https://codepen.io/cpsievert/pen/WzNvVN
PS. I'm fairly sure lasso selection in scatter has always been sluggish with this many points. Here is a minimal example with plotly.js 1.30.0 (Aug 21, 2017). When I compare that to 1.35.0 (current version), there isn't much of a noticeable difference -- https://codepen.io/cpsievert/pen/wmvaeQ
Thanks for providing the biolerplate js code, even though it's that simple it would have taken me a long time to come up with it as I'm not familiar at all with plotly.js
Activity
cpsievert commentedon Mar 8, 2018
Strange. Again, this might be Windows-specific weirdness.
To help isolate the issue, it would be great if you could (try to) replicate these issues with pure plotly.js. I have a codepen here where you can switch
scattertoscatterglto switch from SVG to WebGL. Also, feel free to play with different versions (version 1.33.0 was when the scattergl rewrite happened) https://codepen.io/cpsievert/pen/WzNvVNPS. I'm fairly sure lasso selection in scatter has always been sluggish with this many points. Here is a minimal example with plotly.js 1.30.0 (Aug 21, 2017). When I compare that to 1.35.0 (current version), there isn't much of a noticeable difference -- https://codepen.io/cpsievert/pen/wmvaeQ
daattali commentedon Mar 8, 2018
Thanks for providing the biolerplate js code, even though it's that simple it would have taken me a long time to come up with it as I'm not familiar at all with plotly.js
cpsievert commentedon Jun 5, 2018
Closing as this seems fixed plotly/plotly.js#2459 (comment)
daattali commentedon Jun 6, 2018
Yep it's better in a browser! Within RStudio it's agonizingly slow, but in a browser it's all good now