aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 15:30:37 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 15:30:37 -0500
commit6c6eab0af78496791b3dbbbb7a5d2c383f10cbbd (patch)
tree5cb179b223a1fa42194230aac5a0428d1531235f /qolab
parentc68b1f1d14c9639bbdb778ba80ec1803e488af4d (diff)
downloadpyExpControl-6c6eab0af78496791b3dbbbb7a5d2c383f10cbbd.tar.gz
pyExpControl-6c6eab0af78496791b3dbbbb7a5d2c383f10cbbd.zip
do not plot linked xaxis labels
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 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())