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

Panel not working in VS Code notebooks initially #6640

Open
MarcSkovMadsen opened this issue Apr 2, 2024 · 2 comments
Open

Panel not working in VS Code notebooks initially #6640

MarcSkovMadsen opened this issue Apr 2, 2024 · 2 comments
Labels
type: bug Something isn't correct or isn't working

Comments

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Apr 2, 2024

I've created a new virtual environment with

panel==1.4.0
bokeh==3.4.0
ipywidgets==8.1.2
jupyter-bokeh==4.0.1
jupyterlab-widgets==3.0.10
widgetsnbextension==4.0.10
ipykernel==6.29.4

In VS Code I've created a new notebook, don't save it and select my new virtual environment .venv

image

My understanding is that VS Code uses ipykernel in the virtual environment to power the notebook experience. My understanding is that it does not use any python packages outside my virtual environment.

When I run the code it looks like

image

I believe it also sometimes did look like that with Panel 1.3.8. I've just not reported it because trying again use to solve my problems.

It works when I try again

I create a new notebook and save it as Demo.ipynb. This time it works when I run

image

vs-code-works.mp4

The interactive environment works for me too.

Now an unsaved notebook works for me too.

@MarcSkovMadsen MarcSkovMadsen added the TRIAGE Default label for untriaged issues label Apr 2, 2024
@MarcSkovMadsen
Copy link
Collaborator Author

I will close this one as "trying again" always solves my issue. Feel free to reopen if this is a big problem for you.

@MarcSkovMadsen MarcSkovMadsen changed the title Panel not working in VS Code notebooks with non-saved Notebook Panel not working in VS Code notebooks initially Apr 2, 2024
@philippjfr
Copy link
Member

I'll reopen.

@philippjfr philippjfr reopened this Apr 2, 2024
@philippjfr philippjfr added type: bug Something isn't correct or isn't working and removed TRIAGE Default label for untriaged issues labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

No branches or pull requests

2 participants