Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a05fa1 commit 51351f7Copy full SHA for 51351f7
1 file changed
lib/matplotlib/backends/qt_compat.py
@@ -26,6 +26,8 @@
26
QT_API_PYSIDE = "PySide"
27
QT_API_PYQT = "PyQt4" # Use the old sip v1 API (Py3 defaults to v2).
28
QT_API_ENV = os.environ.get("QT_API")
29
+if QT_API_ENV is not None:
30
+ QT_API_ENV = QT_API_ENV.lower()
31
# Mapping of QT_API_ENV to requested binding. ETS does not support PyQt4v1.
32
# (https://github.com/enthought/pyface/blob/master/pyface/qt/__init__.py)
33
_ETS = {"pyqt5": QT_API_PYQT5, "pyside2": QT_API_PYSIDE2,
0 commit comments