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]:
25052505# requested, ignore rcParams['backend'] and force selection of a backend that
25062506# is compatible with the current running interactive framework.
25072507if (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
You can’t perform that action at this time.
0 commit comments