You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.1.1.post1893+gd8123e656
Fork me on GitHub

Table of Contents



Pause for interval seconds.

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

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