aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/lock_eit.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index f07adca..4156c09 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -70,23 +70,6 @@ def adjustRFandLog(apparatus):
log.addPointToTrace(err, "error")
log.addPointToTrace(freq0, "frequency")
log.addPointToTrace(fdbck, "feedback")
-
-
-def updateLogPlot(apparatus):
- log = apparatus.log
- f = plt.figure(figsize=(8, 8))
- log.plot()
- log_chart.set_figure(f)
- plt.close(f)
- # print(f're-plotting')
- update_webpage(apparatus=apparatus)
-
-async def updateLogPlotLoop(apparatus):
- while True:
- updateLogPlot(apparatus)
- if not apparatus.runStatus:
- break
- await asyncio.sleep(5)
def updateLogFile(apparatus):
log = apparatus.log