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
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.
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
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
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