File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -231,9 +231,10 @@ def switch_backend(newbackend):
231
231
_backend_mod , new_figure_manager , draw_if_interactive , _show = pylab_setup ()
232
232
233
233
234
- def show (* args , ** kw ):
234
+ def show (block = True ):
235
235
"""
236
236
Display a figure.
237
+
237
238
When running in ipython with its pylab mode, display all
238
239
figures and return to the ipython prompt.
239
240
@@ -243,12 +244,14 @@ def show(*args, **kw):
243
244
non-interactive to interactive mode (not recommended). In
244
245
that case it displays the figures but does not block.
245
246
246
- A single experimental keyword argument, *block*, may be
247
- set to True or False to override the blocking behavior
248
- described above.
247
+ Parameters
248
+ ----------
249
+ block : bool, optional
250
+ Experimental; set to ``False`` to override the blocking
251
+ behavior described above.
249
252
"""
250
253
global _show
251
- return _show (* args , ** kw )
254
+ return _show (block = block )
252
255
253
256
254
257
def isinteractive ():
You can’t perform that action at this time.
0 commit comments