a
This commit is contained in:
parent
4150f6bcbf
commit
e28f394d9c
@ -18,7 +18,6 @@ import re
|
||||
import cv2
|
||||
|
||||
import matplotlib as mpl
|
||||
mpl.use('qt5agg')
|
||||
mpl.rc('figure', max_open_warning=0)
|
||||
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
|
||||
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
|
||||
@ -270,6 +269,8 @@ class plotWindow():
|
||||
pw.addPlot("2", f)
|
||||
'''
|
||||
|
||||
mpl.use('qt5agg')
|
||||
|
||||
def __init__(self, parent=None):
|
||||
self.app = QApplication(sys.argv)
|
||||
self.MainWindow = QMainWindow()
|
||||
|
Loading…
Reference in New Issue
Block a user