Zooming control for 3d-surface with code

Hi,
Is there any way zooming control for 3d-surface with code something like:
Setzoom( xmin, ymin,xmax,ymax)

In other words, zooming to a rectangle created with code is possible?
Regards

Hi @doga,

You can set the x-axis range extents in a 3D plot using the figure.layout.scene.xaxis.range, and similarly for the yaxis and zaxis. You can also set the camera angle/position to control the initial rotation/zoom of the figure. See https://plot.ly/python/3d-camera-controls/.

Hope that helps!
-Jon

1 Like