8000 jupyter_rfb does not work in collab · Issue #32 · googlecolab/colab-cdn-widget-manager · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
jupyter_rfb does not work in collab #32
Open
@kushalkolar

Description

@kushalkolar

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0