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
500k point ScatterGL: unselected points don't fade on second selection #2586
When displaing a scattergl trace with a large number of points (> 500k), the second time the selection tool is used the unselected points don't fade into the background.
Oh, unfortunately that is regl issue, demanding to insert regl._refresh() here and there. I tried to nail it couple of times, to no success, since it requires some complex shader setup. Btw inserting regl._refresh affects drawing performance ~6 times for a thousand of rendering passes, which might be a case for regl-splom or multitrace plots.
FWIW I'm not noticing this problem in 1.35.2 (The unselected points keep fading on repeated selections). That version was regl-based as well wasn't it?
I'm also noticing another difference between 1.35.2 and 1.36.1. Take a look at the difference in the initial non-zoomed, non-selected views.
1.35.2
1.36.1
In 1.36.1 the points look less dense. Is there a chance that not all of the points are being rendered in 1.36.1?
Activity
etpinard commentedon Apr 27, 2018
@dy any ideas?
dy commentedon Apr 30, 2018
Oh, unfortunately that is regl issue, demanding to insert
regl._refresh()here and there. I tried to nail it couple of times, to no success, since it requires some complex shader setup. Btw insertingregl._refreshaffects drawing performance ~6 times for a thousand of rendering passes, which might be a case forregl-splomor multitrace plots.etpinard commentedon Apr 30, 2018
@dy did you file a bug report to regl about this?
jonmmease commentedon Apr 30, 2018
FWIW I'm not noticing this problem in 1.35.2 (The unselected points keep fading on repeated selections). That version was regl-based as well wasn't it?
I'm also noticing another difference between 1.35.2 and 1.36.1. Take a look at the difference in the initial non-zoomed, non-selected views.
1.35.2

1.36.1

In 1.36.1 the points look less dense. Is there a chance that not all of the points are being rendered in 1.36.1?
dy commentedon Apr 30, 2018
@etpinard that is really complex shader setup, I am in the process of nailing/issuing the bug.
alexcjohnson commentedon Apr 30, 2018
Is this #2334 again?
It's pretty bad anyway - check out what happens when you make the x values monotonic https://codepen.io/alexcjohnson/pen/GdWEqp
Add selection fix