From d60a02406b9d8625e1d5dd27089d0bf0de3b9ea6 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sat, 18 Dec 2021 15:19:22 -0500 Subject: clear_data for log is async now --- qolab/gui/web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3