aboutsummaryrefslogtreecommitdiff
path: root/qolab/data
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/data')
-rw-r--r--qolab/data/trace.py2
1 files changed, 1 insertions, 1 deletions
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()