Zooming control for 3d-surface with code

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?

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!

1 Like