This extension is no longer being maintained and all of its functionality has been (or will be) placed into the Microsoft Python extension.
Please download the Microsoft Python Extension instead.
Feel free to submit new issues or feature requests on the Microsoft Python Extension.
An extension with rich support for Jupyter
#%%
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.show()
Run Cell
{ "key": "ctrl+enter", "command": "jupyter.execCurrentCell",
"when": "editorTextFocus"
}
Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:
# Generate config file for KernelGateway
jupyter kernelgateway --KernelGatewayApp.generate_config=True
# Generate config for Jupyter Notebook
jupyter notebook --generate-config --allow-root
# Append appropriate values to both config files
echo -e "c.JupyterWebsocketPersonality.list_kernels = True" >> ~/.jupyter/jupyter_kernel_gateway_config.py
echo -e "c.NotebookApp.allow_root = True" >> ~/.jupyter/jupyter_notebook_config.py
Then in VS Code:
For further information and details continue through to the documentation.