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

Missing gtk4 loop integration #1148

Open
anntzer opened this issue Sep 18, 2023 · 2 comments
Open

Missing gtk4 loop integration #1148

anntzer opened this issue Sep 18, 2023 · 2 comments

Comments

@anntzer
Copy link
Contributor

anntzer commented Sep 18, 2023

In jupyter console, trying to show a gtk4agg matplotlib plot raises

UsageError: Invalid GUI request 'gtk4', valid ones are:dict_keys(['inline', 'nbagg', 'webagg', 'notebook', 'ipympl', 'widget', None, 'qt', 'qt5', 'qt6', 'wx', 'tk', 'gtk', 'gtk3', 'osx', 'asyncio'])

(Also, I note that both gtk and gtk3 are deprecated since #1036, is there a reason why? -- gtk (if that means the old gtkagg backend(?)) can probably be removed wholesale as that's Py2-only, but gtk3 should still work.)

@blink1073
Copy link
Member

Hi @anntzer, I deprecated them because they were unmaintained, but didn't want to just yank them.

@anntzer
Copy link
Contributor Author

anntzer commented Sep 19, 2023

I suspect they still see some usage in the wild (I have no numbers to provide though).
Also note that AFAICT the deprecation warning emitted by the kernel is not displayed to the end user, so I suspect many don't know about the deprecation.

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

No branches or pull requests

2 participants