Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f35b744

Browse files
authored
Merge pull request #26999 from meeseeksmachine/auto-backport-of-pr-26940-on-v3.8.x
Backport PR #26940 on branch v3.8.x (Add typing to pyplot.show() to avoid errors with mypy --strict.)
2 parents 3921de6 + 5703086 commit f35b744

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)