diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-18 15:19:22 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-18 15:19:22 -0500 |
commit | d60a02406b9d8625e1d5dd27089d0bf0de3b9ea6 (patch) | |
tree | 4005da0a630293189bcba7e623957250bb0ba207 /qolab/gui | |
parent | ba289500ab460d2f60e88956ff525c11f40e2f14 (diff) | |
download | qolab-d60a02406b9d8625e1d5dd27089d0bf0de3b9ea6.tar.gz qolab-d60a02406b9d8625e1d5dd27089d0bf0de3b9ea6.zip |
clear_data for log is async now
Diffstat (limited to 'qolab/gui')
-rw-r--r-- | qolab/gui/web.py | 3 |
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 |