Skip to content
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

3D set_aspect(aspect='equal') works #16089

Closed
vondreele opened this issue Jan 4, 2020 · 1 comment
Closed

3D set_aspect(aspect='equal') works #16089

vondreele opened this issue Jan 4, 2020 · 1 comment

Comments

@vondreele
Copy link

Bug report

Bug summary

The matplotlib set_aspect(aspect='equal') command for 3D plots works perfectly well after the lines 1279:1282 in …\site_packages\matplotlib\axes_base.py (matplotlib 3.1.1) are commented out. With it, the plot maintains the 3D aspect ratio despite window resizing. This is the desired behavior for 3D plots where the axes aspect is important and was the behavior in matplotlib 3.0.3. NB: set_aspect does not establish the axes ratios; that must be done via calls to set_xlim3d(), set_ylim3d(), and set_zlim3d(). Perhaps the documentation for set_aspect should be modified to reflect its usage.

@tacaswell
Copy link
Member

Closing as a duplicate of #17172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants