Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update pyplot.py
Added type signature for `show`.
  • Loading branch information
hhoppe authored Sep 27, 2023
commit 4d02b5f1f13b75e4f51f858ac0f51a8ac3921a9e
2 changes: 1 addition & 1 deletion lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down