*, block=None)[source]

Display all open figures.

In non-interactive mode, block defaults to True. All figures will display and show will not return until all windows are closed. If there are no figures, return immediately.

In interactive mode block defaults to False. This will ensure that all of the figures are shown and this function immediately returns.

blockbool, optional

If True block and run the GUI main loop until all windows are closed.

If False ensure that all windows are displayed and return immediately. In this case, you are responsible for ensuring that the event loop is running to have responsive figures.

See also

enable interactive mode
disable interactive mode