diff options
Diffstat (limited to 'qolab/gui/web.py')
-rw-r--r-- | qolab/gui/web.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/qolab/gui/web.py b/qolab/gui/web.py index 8227567..79a2d3a 100644 --- a/qolab/gui/web.py +++ b/qolab/gui/web.py @@ -86,7 +86,13 @@ class QOLTimeLog(jp.Div): self.update_interval = QOLParamReadOnly(label='UpdateInterval',value=5,a=dcontrols) self.autosave_interval = QOLParamReadOnly(label='AutoSaveInterval',value=10,a=dcontrols) self.chart = jp.Matplotlib(a=root) - self.plot() + self.start_task() + + def start_task(self): + jp.run_task( self.update_loop() ) + + def stop_tasks(self): + pass async def _next_file(self, msg): print('asked for _next_file') |