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

Enable webagg in %matplotlib magic #13777

Closed
zhizheng1 opened this issue Oct 7, 2022 · 0 comments · Fixed by #13778
Closed

Enable webagg in %matplotlib magic #13777

zhizheng1 opened this issue Oct 7, 2022 · 0 comments · Fixed by #13778

Comments

@zhizheng1
Copy link
Contributor

It seems somehow %matplotlib webagg no longer works.

File ipy/lib/python3.10/site-packages/IPython/core/pylabtools.py:321, in find_gui_and_backend(gui, gui_select)
    317 import matplotlib
    319 if gui and gui != 'auto':
    320     # select backend based on requested gui
--> 321     backend = backends[gui]
    322     if gui == 'agg':
    323         gui = None

KeyError: 'webagg'

Could we add webagg backend for selection? It needs just adding the key to the dictionary backends in pylabtools.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant