Skip to content

Commit 06d9384

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

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/matplotlib/pyplot.py

+6-4
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)