-
-
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 improvements for: fill tozero with bad values fix, fills layering fix, add some line.shape values #3087
Conversation
catcup 8 sept
catch up
- when undefined values with option fill tozerox or tozeroy - order of fill scattergl when overlap
still missing spline from scatter
- new test with more overlap with more kind of objects
modified baseline for gl2d_fill_trace_tozero_order / gl2d_scatter_fill_self_next
add somes text traces into the baseline test
…/baselines/gl2d_scatter_fill_self_next.png ) - add a new test with 2 draw side by side
... by using _nexttrace and _prevtrace like SVG scatter does
@ErwanMAS great work here. I'm really impressed by the new mocks, especially putting SVG and GL side-by-side, that helps a lot since it's otherwise not always obvious without poring over the data whether the filling & ordering is really supposed to be as it appears in the baseline image or not. @etpinard beautiful simplifications in the last couple of commits. The mocks look fairly complete, so unless my question #3087 (comment) points to some otherwise untested case this should be ready to go! |
💯 thank yous to @ErwanMAS , amazing work 🥇 |
This PR builds up on @ErwanMAS's #2979 where
I added a few commits to make his fix more in line with some
scatter
logic.In brief, this PR:
'tozero'
with bad (e.g. undefined) valuesline.shape
values'hv', 'vh', 'hvh', 'vhv'
(only missing'spline'
)Set to be part of
v1.42.0
, cc @plotly/plotly_js