flatironinstitute / CaImAn

Computational toolbox for large scale Calcium Imaging Analysis, including movie handling, motion correction, source extraction, spike deconvolution and result visualization.
https://caiman.readthedocs.io
GNU General Public License v2.0
630 stars 368 forks source link

Tracking bug: VSCode's "Jupyter mode" does not support all Jupyter UI in caiman #1001

Open pgunn opened 2 years ago

pgunn commented 2 years ago

Some UI elements in the demo_dendridic nodebook don't show up when being evaluated in VSCode's Jupyter-like mode; in particular the accepted and rejected components (which have an interactive widget, which is probably why they don't show up).

This is a tracking bug that I don't know if we'll ever fix; recording it to document the problem.

EricThomson commented 1 year ago

Relatively recently, I believe VS Code added support for remote frame buffers so the holoviews/bokeh widgets now show in my VS Code windows for my caiman notebooks. You might check to see if it works for you now just to be sure it isn't just my Windows machine.

kushalkolar commented 1 year ago

Remote frame buffer is different from how bokeh shows stuff, they are completely different things. And it was jupyter_rfb that added vscode support recently, not the other way around.

EricThomson commented 1 year ago

I definitely spoke too soon -- it looks like some of the bits still don't work for the dendritic example (and as Kushal pointed out, if they did, it wouldn't be because of rfb). They work fine in standalone notebook for me, but not in VS Code.