Use matplotlib qt5agg backend for pyside2

This commit is contained in:
Ogi Moore 2020-12-22 10:16:51 -08:00
parent 11db50dee5
commit b98216a2ea

View File

@ -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'