aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/lock_eit.py6
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)