PyDev.Debugger icon indicating copy to clipboard operation
PyDev.Debugger copied to clipboard

Do not use matplotlib deprecated functions

Open jcjaskula-aws opened this issue 1 year ago • 2 comments

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 avatar Sep 15 '24 20:09 jcjaskula-aws

@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 avatar Sep 23 '24 15:09 jcjaskula-aws

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.

jcjaskula-aws avatar Sep 26 '24 19:09 jcjaskula-aws