Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jupyter_rfb does not work in collab #32

Open
kushalkolar opened this issue Jan 6, 2023 · 1 comment
Open

jupyter_rfb does not work in collab #32

kushalkolar opened this issue Jan 6, 2023 · 1 comment

Comments

@kushalkolar
Copy link

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!

@kushalkolar
Copy link
Author

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant