You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing jdaviz in the vs code jupyter notebook viewer (see #3250), and while it works in .show('inline'), there seems to be no way to use the other .show(...) options. This makes most of my jdaviz workflows impossible in vs code, which is a bit sad because the VS Code notebook viewer is otherwise a nice way to interface with notebooks.
(It's sorta debatable if this is a bug of a feature request since maybe this requires some additional implementation, but I'll let whoever triages it decide if I mis-categorized it!)
How to Reproduce
Create or open a jupyter notebook in VS code
run .show('anythingotherthaninline')
Expected behavior
The sidecar options should produce new tabs or whatever in vs code.
I'm not sure that the jupyter notebook extension in VS code supports these, but perhaps we could/should either detect this and fallback to in-line or raise an error? We do seem to detect that popout is not available and do not show the popout buttons in the UI
I think an error or at least a warning would be good, yes, since right now it just silently does nothing. Hopefully should be easy to accomplish relatively quickly.
That said, I think it might be worth either 1) trying to get the "popout" mode working (since that would mostly satisfy my use case) or 2) look into how much work it would be to support VS Code tabs. VS Code does "look like" jupyter lab in that it's a tabbed document view, so I think the concepts translate well. Of course that doesn't mean the underlying tech does, so it's a matter of how hard it is to decide whether it's worth changing this into a feature request then.
Jdaviz component
Other (explain in Description below)
Description
I was testing jdaviz in the vs code jupyter notebook viewer (see #3250), and while it works in
.show('inline')
, there seems to be no way to use the other.show(...)
options. This makes most of my jdaviz workflows impossible in vs code, which is a bit sad because the VS Code notebook viewer is otherwise a nice way to interface with notebooks.(It's sorta debatable if this is a bug of a feature request since maybe this requires some additional implementation, but I'll let whoever triages it decide if I mis-categorized it!)
How to Reproduce
.show('anythingotherthaninline')
Expected behavior
The sidecar options should produce new tabs or whatever in vs code.
Browser
No response
Jupyter
Selected Jupyter core packages...
IPython : 8.28.0
ipykernel : 6.29.5
ipywidgets : 8.1.5
jupyter_client : 8.6.3
jupyter_core : 5.7.2
jupyter_server : 2.14.2
jupyterlab : 4.2.5
nbclient : 0.10.0
nbconvert : 7.16.4
nbformat : 5.10.4
notebook : 7.2.2
qtconsole : not installed
traitlets : 5.14.3
Software versions
The text was updated successfully, but these errors were encountered: