fixed the fixed multi-tabbed plots
This commit is contained in:
parent
3d3203fa8d
commit
7af1584e01
@ -22,9 +22,9 @@ import sys
|
|||||||
import matplotlib as mpl
|
import matplotlib as mpl
|
||||||
mpl.use('qt5agg')
|
mpl.use('qt5agg')
|
||||||
mpl.rc('figure', max_open_warning=0)
|
mpl.rc('figure', max_open_warning=0)
|
||||||
from PyQt5.QtWidgets import QMainWindow, QApplication, QWidget, QTabWidget, QVBoxLayout
|
|
||||||
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
|
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
|
||||||
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
|
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
|
||||||
|
from PyQt5.QtWidgets import QMainWindow, QApplication, QWidget, QTabWidget, QVBoxLayout
|
||||||
import warnings
|
import warnings
|
||||||
warnings.filterwarnings("ignore", category=UserWarning, module="c3d")
|
warnings.filterwarnings("ignore", category=UserWarning, module="c3d")
|
||||||
|
|
||||||
@ -481,10 +481,10 @@ class plotWindow():
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
self.app = QApplication(sys.argv)
|
self.app = QApplication.instance()
|
||||||
if not self.app:
|
if not self.app:
|
||||||
self.app = QApplication(sys.argv)
|
self.app = QApplication(sys.argv)
|
||||||
self.MainWindow.__init__()
|
self.MainWindow = QMainWindow()
|
||||||
self.MainWindow.setWindowTitle("Multitabs figure")
|
self.MainWindow.setWindowTitle("Multitabs figure")
|
||||||
self.canvases = []
|
self.canvases = []
|
||||||
self.figure_handles = []
|
self.figure_handles = []
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = pose2sim
|
name = pose2sim
|
||||||
version = 0.9.11
|
version = 0.9.12
|
||||||
author = David Pagnon
|
author = David Pagnon
|
||||||
author_email = contact@david-pagnon.com
|
author_email = contact@david-pagnon.com
|
||||||
description = Perform a markerless kinematic analysis from multiple calibrated views as a unified workflow from an OpenPose input to an OpenSim result.
|
description = Perform a markerless kinematic analysis from multiple calibrated views as a unified workflow from an OpenPose input to an OpenSim result.
|
||||||
|
Loading…
Reference in New Issue
Block a user