We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using ipympl and %matplotlib widget to plot within a widget for zoom and other functionality from a standar python file using sections such as # %%
ipympl
%matplotlib widget
# %%
Infinite executuion of the cell
main.py
# %% import matplotlib.pyplot as plt %matplotlib widget plt.plot([1,2,3,4],[1,2,3,4])
Running with jupyter: run current cell
jupyter: run current cell
Note: This works when in a native notebook, just not in a python standard python file
Jupyter
Output
View
> ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import jupyter" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import jupyter" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import notebook" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import notebook" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py jupyter kernelspec --version > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py jupyter kernelspec --version > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import os;print(os.path.realpath("C:\\Users\\USERNAME\\AppData\\Roaming\\jupyter\\kernels"))" > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import os;print(os.path.realpath("C:\\Users\\USERNAME\\AppData\\Roaming\\jupyter\\kernels"))" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" Error 2020-12-10 14:08:56: Jupyter Kernel Spec not found for a local connection > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v Started kernel Python 3.8.6 64-bit > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel" > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v > ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\USERNAME\.vscode\extensions\ms-toolsai.jupyter-2020.12.411183155\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue, I can replicate this at my end.
Sorry, something went wrong.
@eskemojoe007 We have resolved this issue and published a new version of the extension with the fix. Please update the Jupyter extension.
Confirmed that it now works. Thanks for the speedy work ya'll.
DonJayamanne
No branches or pull requests
Environment data
Expected behaviour
Using
ipympl
and%matplotlib widget
to plot within a widget for zoom and other functionality from a standar python file using sections such as# %%
Actual behaviour
Infinite executuion of the cell
Steps to reproduce:
main.py
Running with
jupyter: run current cell
Note: This works when in a native notebook, just not in a python standard python file
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)The text was updated successfully, but these errors were encountered: