Use matplotlib qt5agg backend for pyside2
This commit is contained in:
parent
11db50dee5
commit
b98216a2ea
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user