Also, after looking at the embedded_tk example, it seems that you end the
script with a tk.mainloop() which kind of defeats my whole purpose, as I
need the script to keep checking for changes on a file.
What it seems that I need is some why to trigger the gui loop, but also to
have an "event" be trigged every few seconds, and that event would be
responsible for checking if there is new data, reading the file, and
updating the plot if necessary.
Is there some way to accomplish something like this?
Thanks,
Angel
---------- Forwarded message ----------
From: Angel Ezquerra Moreu <[EMAIL PROTECTED]>
Date: Aug 12, 2007 11:01 PM
Subject: Re: [Matplotlib-users] Cannot maximize figure while script is
running
To: matplotlib-users@lists.sourceforge.net
> I would suggest not using the pylab interface. Try building off of one of
the
> embedding_in examples in
> http://matplotlib.sourceforge.net/matplotlib_examples_0.90.0.zip.
Thank you for the answer, Darren. However, could you explain a bit more in
detail why is not a good idea to use the pylab interface? It is very simple
and easy to use (I am a Matlab user as well) so it felt very natural to try
to use it.
Angel
P.S.- Thanks for the os.path.getmtime tip.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users