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

Do not use matplotlib deprecated functions #289

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcjaskula-aws
Copy link

@jcjaskula-aws jcjaskula-aws commented Sep 15, 2024

I followed the recommendations from Matplotlib to replace interative_bk and non_interactive_bk:

matplotlib._api.deprecation.MatplotlibDeprecationWarning: The interactive_bk attribute was deprecated in Matplotlib 3.9 and will be removed in 3.11. Use ``matplotlib.backends.backend_registry.list_builtin(matplotlib.backends.BackendFilter.INTERACTIVE)`` instead.

I did manually testing by patching matplotlibtools.py of my ms-python.debugpy vscode extension. Feel free to take over the PR.

Closes #287

@jcjaskula-aws
Copy link
Author

@fabioz bumping this up. This is likely the root cause of multiple issues reported in different repos. It forbids to use the debugger mode in vscode with matplotlib 3.9+.

@jcjaskula-aws
Copy link
Author

I reviewed the failures and I believe that they are unrelated to my changes. Other pending PRs seems to have deploy fix for these failures (like here). Feel free to take over and update this PR (or merge after the PRs). Thanks for your time.

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.

Failed test due to matplotlib deprecation of interactive_bk
1 participant