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.
2 parents 8a05fa1 + 51351f7 commit f3b7c85Copy full SHA for f3b7c85
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