solved order of import for tests to work

This commit is contained in:
davidpagnon 2023-08-21 02:20:38 +02:00
parent e6b5b93de5
commit ef4bf7962e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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