Blocking call to interact with the figure. This will wait for *n* key or mouse clicks from the user and return a list containing True's for keyboard clicks and False's for mouse clicks. If *timeout* is negative, does not timeout.
(*args, **kwargs)
| 706 | |
| 707 | @docstring.copy_dedent(Figure.waitforbuttonpress) |
| 708 | def waitforbuttonpress(*args, **kwargs): |
| 709 | """ |
| 710 | Blocking call to interact with the figure. |
| 711 | |
| 712 | This will wait for *n* key or mouse clicks from the user and |
| 713 | return a list containing True's for keyboard clicks and False's |
| 714 | for mouse clicks. |
| 715 | |
| 716 | If *timeout* is negative, does not timeout. |
| 717 | """ |
| 718 | return gcf().waitforbuttonpress(*args, **kwargs) |
| 719 | |
| 720 | |
| 721 | ## Putting things in figures ## |
nothing calls this directly
no test coverage detected