We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When plotting the Bloch sphere with qutip and matplotlib >=3.3.0 the sphere appears deformed in z-direction. This is a result of a change in matplotlib Axes3D: https://matplotlib.org/3.3.0/users/whats_new.html#d-axes-improvements
To Reproduce
import qutip b = qutip.Bloch() b.show()
Work around
import qutip b = qutip.Bloch() b.show() if hasattr(b.axes, 'set_box_aspect'): b.axes.set_box_aspect([1,1,1])
Environment QuTiP Version: 4.5.2 Numpy Version: 1.19.2 Scipy Version: 1.5.2 Cython Version: 0.29.21 Matplotlib Version: 3.3.2 Python Version: 3.7.9 Number of CPUs: 6 BLAS Info: INTEL MKL OPENMP Installed: False INTEL MKL Ext: True Platform Info: Linux (x86_64)
The text was updated successfully, but these errors were encountered:
This is an issue with matplotlib rather than QuTiP. A possible workaround is downgrading to version 3.2.2.
matplotlib
QuTiP
Sorry, something went wrong.
The underlying reason is that matplotlib made some changes in the Axes3D module.
Axes3D
Successfully merging a pull request may close this issue.
Describe the bug
When plotting the Bloch sphere with qutip and matplotlib >=3.3.0 the sphere appears deformed in z-direction.
This is a result of a change in matplotlib Axes3D: https://matplotlib.org/3.3.0/users/whats_new.html#d-axes-improvements
To Reproduce
Work around
or
Environment
QuTiP Version: 4.5.2
Numpy Version: 1.19.2
Scipy Version: 1.5.2
Cython Version: 0.29.21
Matplotlib Version: 3.3.2
Python Version: 3.7.9
Number of CPUs: 6
BLAS Info: INTEL MKL
OPENMP Installed: False
INTEL MKL Ext: True
Platform Info: Linux (x86_64)
The text was updated successfully, but these errors were encountered: