diff --git a/mainwin.py b/mainwin.py index 2e5a8d0..e9fd8a4 100644 --- a/mainwin.py +++ b/mainwin.py @@ -57,7 +57,7 @@ class MainWindow(QMainWindow): sub.plot.setData(pd.xs, pd.ys) if show_it: - ps = lst.data[name] + pd = lst.data[name] self.sig_make_new_plot.emit(name, pd) diff --git a/mdi.py b/mdi.py index c838226..54612fa 100644 --- a/mdi.py +++ b/mdi.py @@ -4,7 +4,7 @@ from PyQt5.QtGui import QPainter import pyqtgraph as pg import assets -from theme import MDI_BKG, pg_plot_style +from theme import MDI_BKG class MDIArea(QMdiArea): diff --git a/plotdesc.py b/plotdesc.py index bea0899..be7f042 100644 --- a/plotdesc.py +++ b/plotdesc.py @@ -1,4 +1,3 @@ -import pyqtgraph as pg from theme import pg_plot_style