From 1c4f08331e167faebd1a6ea8f6a681830303c871 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Mon, 19 Dec 2022 12:28:51 +0100 Subject: [PATCH] cleanup and typo --- mainwin.py | 2 +- mdi.py | 2 +- plotdesc.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) 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