matplotlib


Travis-CI:

Table Of Contents

This Page

matplotlib.pyplot.pause

matplotlib.pyplot.pause(interval)

Pause for interval seconds.

If there is an active figure it will be updated and displayed, and the GUI event loop will run during the pause.

If there is no active figure, or if a non-interactive backend is in use, this executes time.sleep(interval).

This can be used for crude animation. For more complex animation, see matplotlib.animation.

This function is experimental; its behavior may be changed or extended in a future release.

Examples using matplotlib.pyplot.pause