Skip to content

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

Merged
etpinard merged 2 commits into
plotly:masterfrom
monfera:scattergl-with-one-datapoint
Nov 21, 2016
Merged

Fixing the non-fancy scattergl 'single data point' infinite loop#1168
etpinard merged 2 commits into
plotly:masterfrom
monfera:scattergl-with-one-datapoint

Conversation

@monfera
Copy link
Copy Markdown
Contributor

@monfera monfera commented Nov 18, 2016

Purports to fix #1164

@etpinard
Copy link
Copy Markdown
Contributor

@etpinard etpinard added status: in progress bug something broken labels Nov 18, 2016
@monfera
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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