diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-15 17:42:22 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-15 17:42:22 -0500 |
commit | e5136fb9edffb98d44f79956cafbde36088e2fe9 (patch) | |
tree | 17697c91f759656563800bf0d806e592ad2fd317 /examples/lock_eit.py | |
parent | 19f0f19250a9f43c5ed93a5d688d91f600ad9aeb (diff) | |
download | qolab-e5136fb9edffb98d44f79956cafbde36088e2fe9.tar.gz qolab-e5136fb9edffb98d44f79956cafbde36088e2fe9.zip |
fine tuning presentation
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r-- | examples/lock_eit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index 6a2a3ba..b574606 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -73,7 +73,7 @@ def adjustRFandLog(apparatus): def updateLogPlot(apparatus): log = apparatus.log - f = plt.figure() + f = plt.figure(figsize=(8, 8)) log.plot() log_chart.set_figure(f) plt.close(f) @@ -153,7 +153,7 @@ async def main(): print('========= Long term lock ===========') apparatus.log = initLog() apparatus.logFileName = None - apparatus.logFileName = apparatus.getNextDataFile() + # apparatus.logFileName = apparatus.getNextDataFile() apparatus.pid.reset() apparatus.runStatus = True res = await asyncio.gather( feedbackLoop(apparatus, nsteps=1000), updateLogPlotLoop(apparatus), updateLogFileLoop(apparatus) ) @@ -174,7 +174,7 @@ async def jp_startup(): if __name__ == '__main__': wp = jp.WebPage(delete_flag=False) - d=jp.Div(text='Magnetometer lock', a=wp) + d=jp.Div(text='Magnetometer log', a=wp, classes='text-white bg-blue-500 text-center text-xl') f = plt.figure() log_chart = jp.Matplotlib(a=wp) plt.close(f) |