Re: [Matplotlib-users] ANN: matplotlib 1.2.0

2012-11-08 Thread klo uo
Congratulation, team! Binary installer for 32-bit Windows, built using python.org's 2.7 and Numpy 1.6.2 is listed but file is not found. I guess it's boiling now, and will be available soon ;) On Fri, Nov 9, 2012 at 1:57 AM, Michael Droettboom wrote: > After months of hard work by a veritable

[Matplotlib-users] ANN: matplotlib 1.2.0

2012-11-08 Thread Michael Droettboom
After months of hard work by a veritable army of contributors, I'm pleased to announce the release of matplotlib 1.2.0. This is the first time we've released without the assistance of John Hunter, who is sorely missed. I hope this is at least a small way to say thanks for all of his great wor

[Matplotlib-users] Problem with "set_array" function

2012-11-08 Thread Sebastian Rhode
Hi guys, I have a problem with the "set_array" function. In a example from the matplotlib homepage this works fine, but when I tries to adaot to my needs, the image just stays the same. No Update, but also no error messages: see On Timer function --> the plot is just created during the start but

Re: [Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread Damon McDougall
On Thursday, November 8, 2012, Alejandro Weinstein wrote: > If you are in a Linux machine, you can use `inotify`: "Inotify (inode > notify) is a Linux kernel subsystem that acts to extend filesystems to > notice changes to the filesystem". > > It seems that there are a few option to use this from

Re: [Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread Alejandro Weinstein
If you are in a Linux machine, you can use `inotify`: "Inotify (inode notify) is a Linux kernel subsystem that acts to extend filesystems to notice changes to the filesystem". It seems that there are a few option to use this from Python: http://pyinotify.sourceforge.net/ http://code.activestate.

Re: [Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread Miha Pelko
Hi, You could use the time module. import time while 1: time.sleep(5) # freezes for 5 s update plot This should be less CPU consuming ... lpmp On Thu, Nov 8, 2012 at 9:41 AM, francesco oteri wrote: > Hi, > what about opening-closing the file every now and then, for example ev

Re: [Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread francesco oteri
Hi, what about opening-closing the file every now and then, for example every 5seconds? you can do it using the function time(). It gives you the amount of time since I don't kno when, but you can count how many seconds are left using: a=time() while 1: b=time() left= b-a if left =

[Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread Sebastian Rhode
Hi, I have a textfile where every second a line is written. Usually the look like this: 1; 124; 455 a second later 1; 124; 455 2; 104; 600 ... Finally such a file is quite easy to plot using matplotlib. But what would be very useful for me is a script, that is watching the TXT file and update