solved order of import for tests to work
This commit is contained in:
parent
e6b5b93de5
commit
ef4bf7962e
@ -30,6 +30,7 @@
|
||||
|
||||
## INIT
|
||||
from Pose2Sim.common import RT_qca2cv, rotate_cam, quat2mat, euclidean_distance, natural_sort
|
||||
|
||||
import os
|
||||
import logging
|
||||
import numpy as np
|
||||
|
@ -18,6 +18,7 @@ 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
|
||||
@ -269,8 +270,6 @@ 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