[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.waitforbuttonpress.html [Back]  [Original]

matplotlib.pyplot.waitforbuttonpress — Matplotlib 3.12.0.dev731+g2fb04d1a6 documentation
Back to top
Search the docs ...:

matplotlib.pyplot.waitforbuttonpress#

matplotlib.pyplot.waitforbuttonpress(timeout=-1)[source]#

Blocking call to interact with the figure.

Wait for user input and return True if a key was pressed, False if a mouse button was pressed and None if no input was given within timeout seconds. Negative values deactivate timeout.

Notes

Examples using matplotlib.pyplot.waitforbuttonpress#

[]

Interactive functions

Interactive functions

Web Proxy Viewer  |  New URL  |  Original Page