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

uirevision + 3D view changes #3378

Closed
alexcjohnson opened this issue Dec 28, 2018 · 1 comment · Fixed by #3394
Closed

uirevision + 3D view changes #3378

alexcjohnson opened this issue Dec 28, 2018 · 1 comment · Fixed by #3394
Labels
bug something broken

Comments

@alexcjohnson
Copy link
Collaborator

Something's broken with uirevision and 3D scene view changes:

Plotly.newPlot(gd,[{type:'surface',z:[[1,2,3],[3,1,2],[2,3,1]]}],{uirevision:true})
// then rotate & zoom, before redrawing:
Plotly.react(gd,[{type:'surface',z:[[1,2,3],[3,1,2],[2,3,1]]}],{uirevision:true})
> WARN: unrecognized GUI edit: up.x
> WARN: unrecognized GUI edit: up.y
> WARN: unrecognized GUI edit: up.z
> WARN: unrecognized GUI edit: center.x
> WARN: unrecognized GUI edit: center.y
> WARN: unrecognized GUI edit: center.z
> WARN: unrecognized GUI edit: eye.x
> WARN: unrecognized GUI edit: eye.y
> WARN: unrecognized GUI edit: eye.z
// and the view jumps back to the original

Looks like these get recorded in _fullLayout._preGUI without prepending the scene name.

@alexcjohnson alexcjohnson added the bug something broken label Dec 28, 2018
@alexcjohnson
Copy link
Collaborator Author

There seem to be problems with geo and mapbox as well... with different details but the same result: GUI viewport changes are not persisted by uirevision.

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.

1 participant