Skip to content

uirevision + 3D view changes #3378

Closed
@alexcjohnson

Description

@alexcjohnson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions