Skip to content
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

Fixing the non-fancy scattergl 'single data point' infinite loop #1168

Merged
merged 2 commits into from
Nov 21, 2016

Conversation

monfera
Copy link
Contributor

@monfera monfera commented Nov 18, 2016

Purports to fix #1164

@etpinard
Copy link
Contributor

@etpinard etpinard added status: in progress bug something broken labels Nov 18, 2016
@monfera
Copy link
Contributor Author

monfera commented Nov 18, 2016

@etpinard absolutely! Planning to do so over the weekend.

@monfera monfera changed the title [WIP] fixing the non-fancy scattergl 'single data point' infinite loop Fixing the non-fancy scattergl 'single data point' infinite loop Nov 20, 2016
@monfera
Copy link
Contributor Author

monfera commented Nov 20, 2016

@etpinard I ended up putting the single-point case into a preexisting image test, because both the fixed calculation edge case and (potential) rendering edge cases can be detected this way. For example, the gl.drawArrays call is constrained to the visible x domain, and zero-domains established by a single point may trigger issues.

@etpinard
Copy link
Contributor

Beautifully done. Thanks very much @monfera !!

@etpinard etpinard merged commit fb0ff70 into plotly:master Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scattergl crashes with one marker
2 participants