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

Fixes for interactive matplotlib & PySide6 #2867

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jmakovicka
Copy link

@jmakovicka jmakovicka commented Oct 22, 2024

These two patches

  1. fix interactive backends with matplotlib 3.9 broken by case-sensitive backend name matching ('QtAgg' vs 'qtagg')

  2. move from PySide (unsupported in inputhook anyway) to PySide6 and add PySide6 support to inputhookqt6

This makes recent Python + PySide6 + matplotlib 3.9 from anaconda.org usable again in the Python Console.

Matplotlib 3.9.2 returns the backend list in lowercase. Use
the case insensitive comparison to detect the interactive or
non-interactive backend.
- Extend inputhookqt6 to support both PyQt6 and PySide6

- Add PySide support to inputhooks

- Switch to PySide6 in qt_loaders
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 this pull request may close these issues.

2 participants