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

Show zeroline even when no grid lines are present #4189

Merged
merged 3 commits into from
Sep 19, 2019

Conversation

etpinard
Copy link
Contributor

fixes #4027 as proposed in #4027 (comment)

before: https://codepen.io/anon/pen/pXxqeW
after: https://codepen.io/etpinard/pen/bGbKyrx

N.B. also in this PR, commit 9f30e0a improves splom WebGL grid line generation perf

cc @archmoj

- 'showzeroline' isn't a valid a attribute
- the tests worked fine as 'zeroline' got coerced to true
  in all the cases present.
- ... that is instead of ax._vals
- ax._gridVals has the grid line of the axis ends filtered out,
  which leads here to less rendered line - improving perf
  w/o generating a diff in the baselines.
- see #4027
  for complete rationale
- add assertZeroLines assertion
@etpinard etpinard added bug something broken status: reviewable labels Sep 13, 2019
@archmoj
Copy link
Contributor

archmoj commented Sep 19, 2019

Nicely done.
💃

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.

zeroline is not visible when axis has no gridlines
2 participants