Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7812db7

Browse files
Mypy fixes
1 parent a5ae8df commit 7812db7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎lib/matplotlib/pyplot.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,11 +2505,11 @@ def polar(*args, **kwargs) -> list[Line2D]:
25052505
# requested, ignore rcParams['backend'] and force selection of a backend that
25062506
# is compatible with the current running interactive framework.
25072507
if (rcParams["backend_fallback"]
2508-
and rcParams._get_backend_or_none() in ( # type: ignore
2508+
and rcParams._get_backend_or_none() in ( # type: ignore[attr-defined]
25092509
set(backend_registry.list_builtin(BackendFilter.INTERACTIVE)) -
25102510
{'WebAgg', 'nbAgg'})
2511-
and cbook._get_running_interactive_framework()):# type: ignore
2512-
rcParams._set("backend", rcsetup._auto_backend_sentinel)# type: ignore
2511+
and cbook._get_running_interactive_framework()):
2512+
rcParams._set("backend", rcsetup._auto_backend_sentinel)
25132513

25142514
# fmt: on
25152515

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /