This repository was archived by the owner on Jun 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 143
Can't change number of points displayed in a scattergl plot #204
Labels
Comments
@charleyferrari or @bcdunbar - Could you triage this one and if you can reproduce, create a codepen and a plotly.js issue? |
@chriddyp I'll take a look. |
I ran the above example without hassle.
That said, there seems to be an issue with scattergl symbols in Micosoft Edge. @slishak Per chance, are you using (a) an older version, or (b) Edge browser? |
Sorry, should have written the versions in the issue. This appears to have been fixed by
|
@slishak thanks for clarifying |
Hi everyone, |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I run the app below and change the number of points plotted from the default value, any reduction from the initial value of 10 results in an empty trace being drawn (but with invisible points that can be hovered over), and any increase results in the first 10 points being plotted and the rest being plotted invisibly. 10 is used as a default example, I can change
init_n_points
to any number and it still shows the same behaviour relative to that number.With

init_n_points=10
, when first opening page:Changing the number of points to 9 and then clicking the button (hovering over an invisible point):

Changing to 200 (hovering over an invisible point):

The issue disappears if I remove the marker symbol (making me think it's related to #203) or if you change the type to
Scatter
instead ofScattergl
.As an aside, I initially thought that this was caused by #181 as I was seeing that error in conjunction with this effect (I see I forgot to mention that when I reported it). But when I look in the console for this app (which is a much simplier example based on the more complicated app that was showing the
RangeError
s) I don't see that error, although when reducing the number of points from the initial value I see[.Offscreen-For-WebGL-00000000063E4360]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0
The text was updated successfully, but these errors were encountered: