aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 21:05:14 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 21:06:25 -0500
commitc89373ef2759d398459848eab30fbb0be5206408 (patch)
tree5bd4b8785322396dae1ebdf28f34e8014709ccd1 /qolab
parent5550379accd37b8e3d00492ad93a270f9d635cc7 (diff)
downloadpyExpControl-c89373ef2759d398459848eab30fbb0be5206408.tar.gz
pyExpControl-c89373ef2759d398459848eab30fbb0be5206408.zip
better repr for TraceSetSameX
Diffstat (limited to 'qolab')
-rw-r--r--qolab/data/trace.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py
index de6334a..6519c05 100644
--- a/qolab/data/trace.py
+++ b/qolab/data/trace.py
@@ -227,8 +227,7 @@ class TraceSetSameX(Trace):
cls_name = f'{self.__class__.__name__}('
xlabel= f"{self.x.config['label']}"
xparam= f"x: '{xlabel}'"
- yparam = f"y: {list(self.traces.keys())}"
-
+ yparam = f"traces: {list(self.traces.keys())}"
return "".join([cls_name, xparam, ', ', yparam, f', N={self.x.values.size}', ')'])
def addTraceX(self, tr):