From c89373ef2759d398459848eab30fbb0be5206408 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 7 Jan 2022 21:05:14 -0500 Subject: better repr for TraceSetSameX --- qolab/data/trace.py | 3 +-- 1 file changed, 1 insertion(+), 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): -- cgit v1.2.3