-
-
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
keep null in x,y so regl knows the end of polygon #5355
Conversation
Thanks very much for the PR! 🥇 Here is more info https://github.com/plotly/plotly.js/blob/master/CONTRIBUTING.md#image-pixel-comparison-tests |
Unfortunately these changes do not appear to fix the problem on this codepen. |
I will try to provide a case. But just in case, did you test it together with the regl-line2d PR I submitted together? gl-vis/regl-line2d#49 |
I modify the existing gl2d_scatter_fill_self_next test to add test with >2 segment, which exposes the issue. Below is the screen shot on my local run before and after the fix. You will need the PR in regl (gl-vis/regl-line2d#49) to see it. |
Please edit the link for
you should provide the last commit hash and address to your fork of
Then run |
The CI kept failing at random place, it does seem like triggered by the code I touched? |
I rerun the tests. The jasmine ones now pass. But there is a problem catch by image test. |
The issue of baseline is that I used Array.findIndex in the new code, and the image test server used by the test framework is a bit old and does not support that. So I use a polyfill instead. It should be fixed now. |
…rsion of node in image test server
aefb748
to
4c19b40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update regl-line2d to latest official version
Nicely done. |
Fixes #2291