def waitforbuttonpress(*args, **kwargs):
 return gcf().waitforbuttonpress(*args, **kwargs)

def waitforbuttonpress ( * args , ** kwargs ) : return gcf ( ) . waitforbuttonpress ( * args , ** kwargs )
blocking call to interact with the figure .