From 6c6eab0af78496791b3dbbbb7a5d2c383f10cbbd Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 9 Dec 2021 15:30:37 -0500 Subject: do not plot linked xaxis labels --- 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 107caae..65373e5 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -92,11 +92,10 @@ class TraceSetSameX(Trace): else: plt.subplot(nplots, 1, cnt, sharex=ax1) plt.plot(self.x.values, tr.values, label=k) - plt.xlabel(f"{self.x.config['label']} ({self.x.config['unit']})") plt.ylabel(f"{tr.config['label']} ({tr.config['unit']})") plt.legend() plt.grid() - # plt.plot(self.x.values, tr.values, label=tr.label) + plt.xlabel(f"{self.x.config['label']} ({self.x.config['unit']})") def items(self): return (self.traces.items()) -- cgit v1.2.3