-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
scattergl crashes with one marker #1164
Comments
part of #130 |
I assume you're saying this example falls under this category:
But this is not a subplot...they are 2 different graphs on the same page |
What's the problem? I don't see any console errors? |
Do you see errors for the second link? For the codepen, you have to uncomment this line:
When I do that, it freezes my browser tab in Chrome |
@cpsievert I'm able to get it to crash with this simplified case involving just one plot: http://codepen.io/rsreusser/pen/woorOo?editors=0010 Plotly.plot('graph1', [{
"x": [1],
"y": [1],
"mode": "markers",
//"type": "scattergl"
}]); Perhaps it's a problem with length-one traces? |
Interesting. Maybe @dfcreative would be interested in looking into this. |
Yea, @rreusser, that is probably the real issue here...and now that second link is now rendering ok for me...I must be seeing things!! |
@cpsievert thanks for the report! Sorry about that hasty close. I must be going blind. |
This bug was introduced in 1.19.0. I noticed the bug a fair few days ago, but I did not have the time to dig into why the scatterplot kept crashing when I started to receive data. After finally getting free times after finishing my exams for the semester, I finally found out it was due to adding 1 data point. Opened up the issue tab to post a codepen with the issue to find out someone beat me to it. |
@monfera looks like one of your patches caused this regression. Would you mind sharing some insights on why this could be happening? |
It seems that the simultaneous presence of these conditions cause the browser tab to hang:
Initial thoughts: apparently, it requires a switch into the non-fancy |
Update: it seems to be an earlier regression, working on it now. |
http://codepen.io/cpsievert/pen/QGGMej
I originally discovered problems re-creating updating this page to use v1.20.0 -- http://cpsievert.github.io/pedestrians/stl-tour/
I get different errors depending on whether viewing in Chrome or Firefox...
The text was updated successfully, but these errors were encountered: