title: How to use plt.waitforbuttonpress() with plot gui tools such as zoom?
body: <p>When I use <code>plt.waitforbuttonpress()</code>, it behaves as expected, but any click to the plot is getting dispatched as this "button press", so using plot GUI tools like zooming tool is not possible. Is there an alternative to <code>waitforbuttonpress</code> that enables you to freeze a window in <code>plt.ion()</code> mode until certain input from user in received and not clear the plot in until explicit <code>cla()</code> or <code>clf()</code> call, and enables you to use these gui tools?</p>