def waitforbuttonpress(*args, **kwargs):
return gcf().waitforbuttonpress(*args, **kwargs)<EOL>
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.