Skip to content

Commit 4d02b5f

Browse files
authored
Update pyplot.py
Added type signature for `show`.
1 parent 870293a commit 4d02b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def draw_if_interactive(*args, **kwargs):
479479

480480

481481
# This function's signature is rewritten upon backend-load by switch_backend.
482-
def show(*args, **kwargs):
482+
def show(*args, **kwargs) -> None:
483483
"""
484484
Display all open figures.
485485

0 commit comments

Comments
 (0)