3D scatterplot: make "zoom" change the axis ranges instead of the plot size?

I find the (default?) behavior of the zoom tool when displaying a 3d scatterplot very weird and unhelpful: when I turn the mouse wheel or when I click the “zoom” tool and move the mouse, Plotly will simply change the size of the 3d cube shown to me, making that cube smaller or bigger. It will not, however, change anything about which part of 3d space is actually shown by the 3d cube.

The default behavior with matplotlib 3d plots is the other way round: zoom will influence which part of 3d space is shown to me and I find that much more intuitive and helpful.

Is there a way to change the behavior in plotly too or is there some other way to add that variation of zooming to a 3d plot?

Hey @johann.petrak Iḿ not sure what you are referring to. You can actually opt to not plot the the background colors of the axes, if that is what you call “box”

UPDATED explanation:

  • I am plotting a 3d scatter plot. Lets assume the plot shows the interval from 0 to 3 for all 3 axes and some data points inside that 3d region
  • when using the zoom tool and zooming e.g. with the mouse wheel:
    • what I expect is that the size of the plot itself remains constant, but I can zoom out to show a bigger region displayed by the plot (e.g. 0 to 5) or zoom in to show e.g. only 0 to 1
    • what happens: instead the plot itself gets enlarged or made smaller, but the 3d region displayed remains the same.
  • Note that in matplotlib 3d projection plot zoom does work as expected.