From 8cff383e7eeb015400386c54e8397acfa4a42fbe Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 3 Dec 2021 14:53:00 -0500 Subject: added attributes for time trace --- qolab/data/trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qolab/data/trace.py') diff --git a/qolab/data/trace.py b/qolab/data/trace.py index 4a2e623..adde8a8 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -39,7 +39,7 @@ class TraceSetSameX: def plot(self): import matplotlib.pyplot as plt for k, tr in self.traces.items(): - tr.plot() + plt.plot(self.x.values, tr.values, label=tr.descr) plt.xlabel(self.x.label) plt.legend() -- cgit v1.2.3