aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-04 13:16:51 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-04 13:16:51 -0500
commit115db6772b481e20b9b1196a9f15f31613e46037 (patch)
tree2565f1fa042b8b87bfd089a1a9571e59485e0951
parente0d27d0f9845cebc6235ebefa3505a02c3e94ee9 (diff)
downloadpyExpControl-115db6772b481e20b9b1196a9f15f31613e46037.tar.gz
pyExpControl-115db6772b481e20b9b1196a9f15f31613e46037.zip
added proper label to noise calibration
-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)