Description
jupyter_rfb
is an amazing package that allows you to perform off screen rendering and view the frame buffer within a jupyter notebook. It subclasses ipywidgets.DOMWidget
, as you can see here:
https://github.com/vispy/jupyter_rfb/blob/main/jupyter_rfb/widget.py
Unfortunately it does not work within collab notebooks. This is the behavior within a collab notebook, even if we try using from google.colab import output;output.enable_custom_widget_manager()
:
As you can see, from the hello world example, only a snapshot of the frame buffer is shown but the proper resizable and interactive canvas is not functional.
rfb_collab-2023-01-06_00.16.56.mp4
This is how it works in jupyter using mybinder:
rfb_collab-2023-01-06_00.21.58.mp4
We recently started writing a plotting library fastplotlib
based on the pygfx
rendering engine, it allows for very large scale visualizations, especially for imaging data where no other solution exists that is this fast and performant. Would be great if it could work in collab, since it already works via jupyter_rfb
in regular jupyter notebooks!