You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the latest PySide6 version (6.4.0) and Matplotlib version (3.6.1), it is not possible to import FigureCanvasQTAgg. It seems that the whole Qt backend breaks.
File "C:\Users\Mustafa\Desktop\Projects\test_project\test.py", line 1, in <module>
from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg
File "C:\Users\Mustafa\Desktop\Projects\test_project\.venv\lib\site-packages\matplotlib\backends\backend_qtagg.py", line 12, in <module>
from .backend_qt import QtCore, QtGui, _BackendQT, FigureCanvasQT
File "C:\Users\Mustafa\Desktop\Projects\test_project\.venv\lib\site-packages\matplotlib\backends\backend_qt.py", line 72, in <module>
_MODIFIER_KEYS = [
File "C:\Users\Mustafa\Desktop\Projects\test_project\.venv\lib\site-packages\matplotlib\backends\backend_qt.py", line 73, in <listcomp>
(_to_int(getattr(_enum("QtCore.Qt.KeyboardModifier"), mod)),
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'KeyboardModifier'
Expected outcome
Success import and usage
Additional information
No response
Operating system
Windows
Matplotlib Version
3.6.1
Matplotlib Backend
No response
Python version
3.10.8
Jupyter version
No response
Installation
pip
The text was updated successfully, but these errors were encountered:
Bug summary
Using the latest PySide6 version (6.4.0) and Matplotlib version (3.6.1), it is not possible to import
FigureCanvasQTAgg
. It seems that the whole Qt backend breaks.Code for reproduction
Actual outcome
Expected outcome
Success import and usage
Additional information
No response
Operating system
Windows
Matplotlib Version
3.6.1
Matplotlib Backend
No response
Python version
3.10.8
Jupyter version
No response
Installation
pip
The text was updated successfully, but these errors were encountered: