aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/lock_eit.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index 8129afc..ad14977 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -231,7 +231,8 @@ async def record_magnetometer_noise(apparatus):
await asyncio.sleep(tperdiv*14 + 1)
errorTr=scope.getTrace(1)
- errorTr.config['label'] = 'error'
+ errorTr.config['label'] = 'error vs time'
+ errorTr.y.config['label'] = 'error'
log = errorTr
log.config['tags']['apparatus']=getConfig(apparatus)