8000 Mypy fixes · ianthomas23/matplotlib@7812db7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7812db7

Browse files
committed
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_no 7136 ne() 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)
0