[Matplotlib-users] IOError: [Errno 4] Interrupted system call (Qt4 backend)

2011-07-18 Thread Tony Yu
When using the Qt4 backend, I'm getting an IOError similar to the one detailed in: http://old.nabble.com/matplotlib-with-Qt4-backend-td26311369.html But it's definitely a separate issue (see Traceback below). This issue also seems specific to Qt (I couldn't reproduce it on 'macosx', 'tkagg', or 'ag

Re: [Matplotlib-users] annotate

2011-07-18 Thread Michael Droettboom
Thanks for the report. I have created a pull request with a solution for this bug here: https://github.com/matplotlib/matplotlib/pull/403 If you are able to build from git, test these changes and give me feedback in your specific environment, that would be great. Cheers, Mike On 07/14/2011 0

Re: [Matplotlib-users] plot duration given format of '3:04:02.994000'

2011-07-18 Thread C M
On Mon, Jul 18, 2011 at 10:58 AM, Daniel Mader wrote: > Hi, > > why don't you just parse the returned string? > > asdf = '3:04:02.994000' > asdf = asdf.split(':') > temp = asdf[-1].split('.') > print asdf > asdf.pop(-1) > print asdf > asdf.extend(temp) > print asdf > asdf = [int(i) for i in asdf]

[Matplotlib-users] Plotting Scales and Tittles on Subplots with matplotlib

2011-07-18 Thread Rodobaca
Hi everyone I needed some help to make my output subplot made with the code below, become something like this: http://old.nabble.com/file/p32084025/Concentracao%2BFiltradoHbO%252CHbR%252CHbT%2BApneia_01.gif The code i used to this is here, tried to comment it alot, if u dont get something, ju

Re: [Matplotlib-users] plot duration given format of '3:04:02.994000'

2011-07-18 Thread Daniel Mader
Hi, why don't you just parse the returned string? asdf = '3:04:02.994000' asdf = asdf.split(':') temp = asdf[-1].split('.') print asdf asdf.pop(-1) print asdf asdf.extend(temp) print asdf asdf = [int(i) for i in asdf] print asdf hrs,mins,secs,usecs = asdf That should work, and you can always tra

Re: [Matplotlib-users] Update errorbar plot

2011-07-18 Thread r-w
On 07/18/2011 01:03 PM, Eric Firing wrote: On 07/17/2011 03:47 PM, r-w wrote: > I have been able to embed a matplotlib simple line graph into a wxpython > application and then dynamically update the underlying line data. > > However, I now want to do something similar with an errorbar plot. I