-
Notifications
You must be signed in to change notification settings - Fork 15
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
.draw()
doesn't skip over ids with undefined options
#35
Comments
First from here we assume that at index i of the array passes , we found element with id i But here we remove empty cell from the array passes , so at index i i dont have any more element with id i so when we call draw with a number we can draw the wrong element |
@ErwanMAS thanks for the investigation. I haven't looked at this bug in a while now, but I suspect the best what to fix it would be to implement whether |
@dy could you help us out? |
3.0.11 should fix that |
Hey , can you test against https://codepen.io/erwanmas/pen/NLwXab ? |
@ErwanMAS using regl-line2d@3.0.11, I'm getting: vs where the fill pattern in the red trace is wrong, but the rest appears right. |
PR for plotly.js -> plotly/plotly.js#2990 with corrected baselines. |
@dy @etpinard i am still thinking , this is not the right solution . I applied only the patch and tested and this does not work |
Thanks @ErwanMAS ! I confirm your observations on the plotly/plotly.js#2990 branch. The problem seems to only be apparent on "fills" traces. Dima's patch seems like a step in the right direction. @ErwanMAS can you replicate the problem outside of plotly.js with just For future reference, here's a more simple codepen https://codepen.io/etpinard/pen/WgzrVw?editors=1010 (with a legend and the default trace colors making it easier to tell which trace is which). |
@ErwanMAS the problem was in plotly.js. I was able to fix it in plotly/plotly.js@045a162 Thanks for your help! |
How i can run test outside of plotly.js ? @etpinard |
I guess this issue is fixed via plotly/plotly.js#2990 |
@dy
only draws the red triangle.
Example in plotly.js https://codepen.io/etpinard/pen/bKQjMe
The text was updated successfully, but these errors were encountered: