aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-19 00:06:41 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-19 00:06:41 -0500
commitc7922d68fd7feea7b431eb11bd6dd328b4a4f5fb (patch)
tree1ee61dd81c0f89402fb2e5d225652ee59b30ce9d
parent1a7d915d2dcf7f2bd5c825a93252ebc2bfdd5bbf (diff)
downloadqolab-c7922d68fd7feea7b431eb11bd6dd328b4a4f5fb.tar.gz
qolab-c7922d68fd7feea7b431eb11bd6dd328b4a4f5fb.zip
remove unneded code
-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