From b98216a2ead758712f8b90d9c426559e1d683d2e Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Tue, 22 Dec 2020 10:16:51 -0800 Subject: [PATCH] Use matplotlib qt5agg backend for pyside2 --- pyqtgraph/widgets/MatplotlibWidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtgraph/widgets/MatplotlibWidget.py b/pyqtgraph/widgets/MatplotlibWidget.py index c5b6c980..232918ee 100644 --- a/pyqtgraph/widgets/MatplotlibWidget.py +++ b/pyqtgraph/widgets/MatplotlibWidget.py @@ -1,7 +1,7 @@ from ..Qt import QtGui, QtCore, QT_LIB import matplotlib -if QT_LIB != 'PyQt5': +if QT_LIB not in ['PyQt5', "PySide2"]: if QT_LIB == 'PySide': matplotlib.rcParams['backend.qt4']='PySide'