From 4d02b5f1f13b75e4f51f858ac0f51a8ac3921a9e Mon Sep 17 00:00:00 2001 From: Hugues Hoppe Date: Tue, 26 Sep 2023 23:50:28 -0700 Subject: [PATCH] Update pyplot.py Added type signature for `show`. --- lib/matplotlib/pyplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 74a73725d5d9..ce7d302ae9e7 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -479,7 +479,7 @@ def draw_if_interactive(*args, **kwargs): # This function's signature is rewritten upon backend-load by switch_backend. -def show(*args, **kwargs): +def show(*args, **kwargs) -> None: """ Display all open figures.