vispy / jupyter_rfb

Remote Frame Buffer for Jupyter
https://jupyter-rfb.readthedocs.io
MIT License
55 stars 10 forks source link

Support for VSCode #53

Closed Korijn closed 1 year ago

Korijn commented 2 years ago

In VSCode the notebooks are not interactive:

image

image

(Running examples from https://github.com/pygfx/wgpu-py/pull/202)

almarklein commented 2 years ago

Are jupyter widgets supposed to work in Code? I get Error loading preloads: Could not find renderer

Edit: Looks like ipywidgets is supposed to work ... not sure why it does not for me.

almarklein commented 2 years ago

Ok, it's working now.

I can reproduce that only the "initial snapshot is shown". And I can fix this by disabling our _repr_mimebundle_ logic. That produces a working output, except that the sizing does not work: the widgets are huge and can only be resized manually.

So I think we can make this work, but it will require some more research to do it right.