File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2505,11 +2505,11 @@ def polar(*args, **kwargs) -> list[Line2D]:
2505
2505
# requested, ignore rcParams['backend'] and force selection of a backend that
2506
2506
# is compatible with the current running interactive framework.
2507
2507
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]
2509
2509
set (backend_registry .list_builtin (BackendFilter .INTERACTIVE )) -
2510
2510
{'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 )
2513
2513
2514
2514
# fmt: on
2515
2515
You can’t perform that action at this time.
0 commit comments