I want to display fast moving data (similar to an oscilloscope) using JupyterHub.
Currently the incoming data is processed in JupyterLab cells and then displayed in a separate pyqtgraph window. This works fine, presumably because the data source, JupyterLabs and the pyqtgraph window all run in the same session.
Now with JupyterHub the browser, the data source and the pyqtgraph window would run in the same session, but JupyterLab is running in its own sudo session (ideally even on another backend server/cloud).
Whatever the exact reason is, using a pyqtgraph window kills the kernel when using it with JupyterHub where it works with only running JupyterLab.
I am new to JupyterHub, so maybe the general approach is wrong?
If so, I am open to other solutions:
The display could be inside a cell or not.
I am not limited to python (although preferred)
Using pyqtgraph is not a given, I could switch to something else