-
Notifications
You must be signed in to change notification settings - Fork 298
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
Using %matplotlib widget
results in `KeyError: 'modifiers'.
#12888
Comments
I ran into this issue earlier. It's likely due to an incompatibility between your versions of |
I believe this is caused by an environment issue (issue with packages at your end)
Closing for now, if the issue persists, please do feel free to ping here and i'll re-open this issue or feel free to re-open your self or create a new issue and i'll look into this. |
I'm still having this issue and I've upgraded VSCode, ipympl, etc. |
Had the same issue, switching to pre-release versions of Jupyter and Python fixed it (as mentioned above) |
I get "Can't install pre-release version of 'ms-toolsai.jupyter' extension because it is not compatible with the current version of Visual Studio Code (version 1.78.0)." |
|
An addition to the above advice. This solution now does work, at least with my combination of vscode But, I had to restart vscode (twice!) after upgrading to the above, before it "settled down". Just FYI. |
I have tried that combination of versions with the exception of Currently downgraded matplotlib and it is working as expected. |
I tried upgrading related packages (jupyter*, ipy*, matplotlib), but it did not help. Upgrading the complete environment ( |
Environment data
Expected behaviour
No errors.
Actual behaviour
The figure shows correctly but there are repeated
KeyError: 'modifiers'
that makes the output cell extremely long. See screen shot This error does not show when I'm using Jupyter Notebook in my browser (started from the command line), but only in VSCode. Note that the errors appear seconds or sometimes minutes after the figure is shown correctly. In order to reproduce, you must wait a good few seconds after running the code.Steps to reproduce:
Paste the following code into a cell in a new
.ipynb
file and run. Note that the errors appear seconds or sometimes minutes after the figure is shown correctly. In order to reproduce, you must wait a good few seconds after running the code in order to see the errors.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: