Skip to content

Plotly.react secondary axis draw error #2828

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

Closed
nicolaskruchten opened this issue Jul 19, 2018 · 1 comment · Fixed by #2831
Closed

Plotly.react secondary axis draw error #2828

nicolaskruchten opened this issue Jul 19, 2018 · 1 comment · Fixed by #2831
Labels
bug something broken

Comments

@nicolaskruchten
Copy link
Contributor

This Pen https://codepen.io/nicolaskruchten/pen/VBmWLN?editors=0010 shows a Plotly.react call which should move the secondary x-axis but results in the old x-axis to remain in the plot.

@etpinard
Copy link
Contributor

Ok. Thanks for the report

Plotly.newPlot(gd, steps[0]())
Plotly.relayout(gd, {
  'xaxis2.overlaying': 'free',
  'xaxis2.domain': [0.37, 1]
})

is enough to reproduce the bug also.

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 a pull request may close this issue.

2 participants