From 4035e1dfd9cc16fc4eb730cb51adf6a5963269bf Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 2 Dec 2021 13:10:51 -0500 Subject: create a root package qolab --- data/__init__.py | 6 ------ data/trace.py | 16 ---------------- 2 files changed, 22 deletions(-) delete mode 100644 data/__init__.py delete mode 100644 data/trace.py (limited to 'data') diff --git a/data/__init__.py b/data/__init__.py deleted file mode 100644 index 528815a..0000000 --- a/data/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ - -from .trace import Trace - -__all__ = [ - "Trace", -] diff --git a/data/trace.py b/data/trace.py deleted file mode 100644 index 9b14264..0000000 --- a/data/trace.py +++ /dev/null @@ -1,16 +0,0 @@ - -class Trace: - def __init__(self, descrStr): - self.descr = descrStr - self.x = None - self.xlabel = None - self.xunit = None - self.y = None - self.ylabel = None - self.yunit = None - - def plot(self): - import matplotlib.pyplot as plt - plt.plot(self.x, self.y, label=self.descr) - plt.legend() - -- cgit v1.2.3