Say I have run plotted this 3D surface in a Jupyter notebook in Python: https://plot.ly/python/3d-surface-plots/
Now I move it around a bit and then I would like to grab the camera position and other scene parameters.
So I can plot with this viewpoint.
But also I would like to grab them to be able to programmatically rotate/animate the 3D plot, ideally using IPython widgets (https://github.com/ipython/ipywidgets). For that I need a handler to the js object.
I can’t find it. When I look into the fig object, it still contains the initial values.
From this post (How do I get the camera rotation angles from the “eye”?) I understand the scene object is accessible in pure JS.
Has somebody managed to do that in the notebook ?
Any pointers ?