Skip to content

restyle zmin & zmax doesn't cause contour maps to redraw #1649

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
alexcjohnson opened this issue May 4, 2017 · 0 comments · Fixed by #1653
Closed

restyle zmin & zmax doesn't cause contour maps to redraw #1649

alexcjohnson opened this issue May 4, 2017 · 0 comments · Fixed by #1653
Assignees
Labels
bug something broken

Comments

@alexcjohnson
Copy link
Collaborator

  1. open http://localhost:3000/devtools/test_dashboard/#electric_heatmap - changing colorscale works correctly:
Plotly.restyle(gd, {zmin: -50, zmax: 150})
  1. Instead, first change to a contour map and change zmin/zmax - we don't see the new range:
Plotly.restyle(gd, {type: 'contour', zauto: true})
Plotly.restyle(gd, {zmin: -50, zmax: 150})
  1. but then if you cause a redraw (doubleclick or something) then you do see the new range.
@alexcjohnson alexcjohnson added the bug something broken label May 4, 2017
@etpinard etpinard self-assigned this May 8, 2017
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