-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
set_{x,y,z}bound 3d limits are not persistent upon interactive rotation #18112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The reason is the following
This can be verified via
fixing the issue. Questions:
|
It's not the mouse move that triggers it, it's the draw. If you insert I think this may be because of the new lazy autoscaling. Nothing in mplot3d sets the new |
This is a regression from 3.1.2; I will test some newer versions, but if it's lazy autoscaling, then it's a |
Since `Axes3D` derives from 2D `Axes`, this lazy autoscale was partially implemented. This might cause extraneous re-scaling since the 3D case did not always turn it off. It might also cause re-scaling to be missed since 2D `Axes` does not check z. Fixes matplotlib#18112.
And this is because |
Since `Axes3D` derives from 2D `Axes`, this lazy autoscale was partially implemented. This might cause extraneous re-scaling since the 3D case did not always turn it off. It might also cause re-scaling to be missed since 2D `Axes` does not check z. Fixes matplotlib#18112.
Since `Axes3D` derives from 2D `Axes`, this lazy autoscale was partially implemented. This might cause extraneous re-scaling since the 3D case did not always turn it off. It might also cause re-scaling to be missed since 2D `Axes` does not check z. Fixes matplotlib#18112.
Since `Axes3D` derives from 2D `Axes`, this lazy autoscale was partially implemented. This might cause extraneous re-scaling since the 3D case did not always turn it off. It might also cause re-scaling to be missed since 2D `Axes` does not check z. Fixes matplotlib#18112.
Bug report
Bug summary
3D axes limits set using set_{x,y,z}bound are dropped when interactively rotating 3d axes.
Code for reproduction
then interactively rotate the axes with the mouse.
Actual outcome
The axes limits immediately snap back to [0, 1] (plus margins).
Expected outcome
Limits are respected (as with set_{x,y,z}lim).
Matplotlib version
print(matplotlib.get_backend())
): qt5aggThe text was updated successfully, but these errors were encountered: