Feature Request: 3d plot orientation parameters

It would be great if there was a way to extract the layout/scene/camera configuration parameters from a plot that was oriented graphically, then this code could be just pasted in to set that view configuration in the code. Right now, it seems to be a trial & error process to set the view parameters.

Hi @tfg250 you could write a bit of Javascript code which would print to the console the rotation parameters when capturing the relayout events of the figure (see for example Synchronize camera across 3D subplots? for such a comparable example). If you’re using Dash, then you can capture the relayout event from Python as described in Synchronizing 3D plot camera views/zoom in Dash. Maybe it’s also possible to do this in a FigureWidget in Jupyter (but I’m not sure).