Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 06d9384

Browse filesBrowse files
authored
Merge pull request #14224 from dstansby/show-doc
Update plt.show() doc
2 parents cf2e889 + 534e85e commit 06d9384
Copy full SHA for 06d9384

File tree

Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+6-4Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def switch_backend(newbackend):
244244

245245
def show(*args, **kw):
246246
"""
247-
Display a figure.
247+
Display all figures.
248248
249249
When running in ipython with its pylab mode, display all
250250
figures and return to the ipython prompt.
@@ -255,9 +255,11 @@ def show(*args, **kw):
255255
non-interactive to interactive mode (not recommended). In
256256
that case it displays the figures but does not block.
257257
258-
A single experimental keyword argument, *block*, may be
259-
set to True or False to override the blocking behavior
260-
described above.
258+
Parameters
259+
----------
260+
block : bool, optional
261+
This is experimental, and may be set to ``True`` or ``False`` to
262+
override the blocking behavior described above.
261263
"""
262264
global _show
263265
return _show(*args, **kw)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.