Skip to content

FIX: account for changes to private methods in mpl39 #19

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

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mpl_gui/_manage_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from matplotlib import cbook, rcsetup
from matplotlib import rcParams, rcParamsDefault
from matplotlib.backends.registry import backend_registry
import matplotlib.backend_bases


Expand Down Expand Up @@ -92,7 +93,7 @@ def select_gui_toolkit(newbackend=None):
if newbackend.lower() == "tkagg":
backend_name = f"mpl_gui._patched_backends.{newbackend.lower()}"
else:
backend_name = cbook._backend_module_name(newbackend)
backend_name = backend_registry._backend_module_name(newbackend)

mod = importlib.import_module(backend_name)
if hasattr(mod, "Backend"):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# List required packages in this file, one per line.
matplotlib
matplotlib>3.9
Loading