embed bokeh server in jupyter notebook running in vscode - visual-studio-code

I want to embed a bokeh server inside Jupyter Notebook. This has been done in this example file.
But I usually run Jupyter Notebook on Visual Studio Code rather than directly on a web browser. This causes the problem - the bokeh plot doesn't show up in Visual Studio Code as it does in a web browser.
Can anyone help?

Related

Visual studio code template for Jupyter notebook

Is there a way to have each Jupyter notebook file start with some preexisting template code? For example, when I create a .ipynb file, the first cell would have some import statements of my choosing.
I looked through the Jupyter extension settings in vscode, but I didn't see anything relevant.

List of running notebooks on current Jupyter server in VS Code

I have been accessing a remote Jupyter server through my browser but for better debugging, I am now switching to accessing my server over SSH in Visual Studio Code. I installed the Jupyer extension and can run my notebooks fine. But in the browser interface, there is a "Running" tab (as shown in the image) that lists all the notebooks I am running and I can shut them down from there easily. How to do the same in VS Code? I just need to view this list. A terminal command, or anything that can tell me which notebooks are running will be very helpful.
It seems to be an visual studio issue: https://stackoverflow.com/a/71257239/5141404
I work in an alternative way, all files in the open editors is running jupyter notebook.

Cannot select Jupyter Python Kernel in notebook

I am using Visual Studio Code, Jupyter and Anaconda 3.8.5. I have a notebook, in that notebook I cannot select the kernel I want. The kernel is visible, I can click on it, a pop-up below appears stating kernel is switching, but it is not selected.
What I have tried:
Check ipykernel is installed.
Reinstalled Jupyter in that environment.
Tried restarting Visual Studio Code.
Restarted machine.
Tried to see if I could set the kernel using a Visual Studio Code workspace setting (nope).
Ideas appreciated.

Jupyter notebook in vscode installing everytime I open VS Code

Whenever I open VS Code & go to Extensions, it always shows Jupyter as Installing, Why is it so?

VS code in a jupyter notebook?

I am looking to see if it's possible to run vs code from a jupyter notebook, as in have it as a kernel that I can use to run vs code in the web browser.
https://docs.anaconda.com/anaconda/user-guide/tasks/integration/vscode/
Is this even possible?
So have what appears in anaconda navigator below, appear in the jupyter lab ui below.
I found this.
https://github.com/jupyterlab/jupyterlab-monaco
Although it's "merely a 'proof-of-concept' implementation and nowhere near production status" so not ready for my use case yet. Still it's there for those interested.