This commit is contained in:
davidpagnon 2023-08-21 02:03:39 +02:00
parent 4150f6bcbf
commit e28f394d9c

View File

@ -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()