Spec-Zone.ru › Matplotlib

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

Note

This is the pyplot wrapper for Figure.waitforbuttonpress.

Examples using matplotlib.pyplot.waitforbuttonpress

Interactive functions

Interactive functions

© 2012–2026 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.waitforbuttonpress.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API