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

Skip to content

Commit 3ed48c9

Browse files
hhoppeissamarabi
authored andcommitted
Update pyplot.py
Added type signature for `show`.
1 parent 2b26187 commit 3ed48c9

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
@@ -478,7 +478,7 @@ def draw_if_interactive(*args, **kwargs):
478478

479479

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

0 commit comments

Comments
 (0)