tensorboard-plugin-3d icon indicating copy to clipboard operation
tensorboard-plugin-3d copied to clipboard

Use getConfig on the viewer to retrieve state

Open thewtex opened this issue 3 years ago • 1 comments

thewtex avatar Feb 22 '22 15:02 thewtex

Looking at the getConfig option it seems it doesn't contain a lot of the data that we would need to update the state

{
    "uiMachineOptions": "reference",
    "viewerConfigVersion": "0.3",
    "xyLowerLeft": false,
    "renderingViewContainerStyle": {
        "position": "relative",
        "width": "100%",
        "height": "auto",
        "minHeight": "200px",
        "minWidth": "450px",
        "margin": "0",
        "padding": "0",
        "top": "0",
        "left": "0",
        "flex": "1 1 0px",
        "overflow": "hidden"
    },
    "uiCollapsed": false,
    "main": {
        "backgroundColor": [
            0.5,
            0.5,
            0.5
        ],
        "units": ""
    }
}

bnmajor avatar Feb 22 '22 23:02 bnmajor