Skip to content

Fix overlaying axis layers #1855

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

Merged
merged 2 commits into from
Jul 6, 2017
Merged

Fix overlaying axis layers #1855

merged 2 commits into from
Jul 6, 2017

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Jul 6, 2017

Fixes https://codepen.io/etpinard/pen/EXpdOd as discovered by @alexcjohnson and needed for #1854

This thing has been broken since 1.18.0 and more precisely since #946.

Commit 3bf58db fixes rendering, but restyle calls involving visible (e.g. legend trace toggles) do not work for the new mock. I'll attempt to fix that in this PR.

- bug noticed when both overlaying x and y axes have
  `showline: true`.
- ... but `Plotly.restyle(gd, 'visible', true, [1])` does
      not work for the added mock
- both bugs have been broken since PR
    #946
  released in 1.18.0
@etpinard etpinard added status: in progress bug something broken labels Jul 6, 2017
@etpinard
Copy link
Contributor Author

etpinard commented Jul 6, 2017

The restyle issue is now fixed ➡️ type: reviewable.

@alexcjohnson
Copy link
Collaborator

Kind of annoying to have to do this, but looks great. Nice tests! 💃

@etpinard etpinard merged commit 9c35a14 into master Jul 6, 2017
@etpinard etpinard deleted the overlaying-axis-lines-bug branch July 6, 2017 18:59
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.

2 participants