I am experiencing the following difficulty:
My program basically loops and wants to redraw a plot (using imshow() )
every 5 seconds or so. So it looks something like:
do redraw business..
The redrawing shows up fine, the only problem is that during the 5 seconds
of sleep, I cannot really move the figure window or really do anything with
I am using MPL on windows with the 'Qt4Agg' backed, and running this code
from ipython (on the command line). I don't quite understand the threading
model of the GUI kit, vs. the main thread, so could someone enlighten me how
it works roughly, and what I need to do in a multi-threaded application in
order to update a figure periodically, and be able to move it around, and do
things with its figure window.
Thanks in advance for any responses.
View this message in context: http://www.nabble.com/Being-able-to-move-figure-around-during-time.sleep()-tp22835008p22835008.html
Sent from the matplotlib - users mailing list archive at Nabble.com.