Re: [Matplotlib-users] Hiding labels in a legend?

2013-01-22 Thread Drain, Theodore R (343P)
I have to say I disagree with this fix. None was a nice, very intuitive way to hide the label. Many Python systems use None in that kind of role and I really doubt anyone is going to use None when they meant None so converting it to a string seems like a bad idea. Ted

Re: [Matplotlib-users] type error with python 3.2 and version 1.1.1 of matplotlib (numpy error)

2012-09-04 Thread Drain, Theodore R (343P)
Isn't that what the unit system is for? It allows users to use whatever objects they want and register conversions to/from MPL types. If Decimal is a common use-case, then perhaps MPL should provide those converters but the user would (and probably should) still need to activate them.

Re: [Matplotlib-users] [ploting data] Live data

2011-12-13 Thread Drain, Theodore R (343P)
Perhaps I'm missing something, but why not use QTimer? You can't really every call sleep in a single threaded gui (for reasons you've encountered). If you need to poll something, create a QTimer for 2 seconds and have it call a measurement function to update the data. You shouldn't need any

[Matplotlib-users] Postscript backend produces different file permission than png backend?

2010-04-13 Thread Drain, Theodore R (343P)
On Linux: import pylab as p p.plot( [1,2,3] ) p.savefig( 'test.ps' ) p.savefig( 'test.png' ) ls -l test.* -rw-r--r-- 1 --- - 17236 Apr 13 10:32 test.png -rw--- 1 --- - 8640 Apr 13 10:32 test.ps This is with a umask of 022. It looks to me like this is caused by the ps backend

Re: [Matplotlib-users] Drawing Error Ellipses

2009-10-28 Thread Drain, Theodore R (343P)
We've had several users come to the same (incorrect) conclusion so I'd have to say it's not a rare occurrence for those comments to be misunderstood. Perhaps adding total in front of length would help. width- The total width of the ellipse -Original Message- From: Michael