aboutsummaryrefslogtreecommitdiff
path: root/qolab/gui
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/gui')
-rw-r--r--qolab/gui/web.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qolab/gui/web.py b/qolab/gui/web.py
index 6d85c66..b577d6c 100644
--- a/qolab/gui/web.py
+++ b/qolab/gui/web.py
@@ -80,8 +80,9 @@ class QOLTimeLog(jp.Div):
self.chart = jp.Matplotlib(a=root)
self.plot()
- def _clear_data(self, msg):
+ async def _clear_data(self, msg):
self.clear_data()
+ await self.update()
def clear_data(self):
traces = self.traces