Michael,
I think the issue is that there is no Unicode in the script that was attached -
it's just a simple polar call so the user isn't really Unicode".
I think Unicode is starting to creep into the source in various places - we
just had a user point out that negative numbers are using a normal
OK - Thanks for the explanation. Sorry you had to type such a long response to
my short little complaint :)
> -Original Message-
> From: Michael Droettboom [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 25, 2008 1:06 PM
> To: Drain, Theodore R
> Cc: m
Ole wrote:
My interpretation of this is:
- the FigureCanvas gets the first resize event and repaints itself (*)
- during the repaint it gets the second resize event
- since it is already in the repaint process, the second request
is ignored (or queued) and returns immediately
- this leads to the p
FYI I just went through this w/ an application of ours. There is no easy way
to handle this. You can do this:
Display* disp = XOpenDisplay( 0 );
if ( ! disp )
{
// no DISPLAY variable is set - no x connection
}
However, if the DISPLAY variable is set but doesn't point to a usable x-server
I have an application where the user can edit line colors and other attributes
after the plot is drawn. The artists update just fine but the legend doesn't
change.
>From what I can see in the legend code, it doesn't seem like there is any
>mechanism in place for doing this. Does anyone have a
I have three arrays (x,y,z). I want plot x vs y and draw the line segments
differently depending on whether or not z is positive or negative. So I'm
trying to split the x,y arrays into chunks depending on the value of z. Using
numpy.where, I can find the indeces in z that satisfy a condition
z < 0)]
xpos = [x[slice(*reg)] for reg in contiguous_regions(z >= 0)]
Thanks,
Alex
On Fri, Aug 2, 2013 at 10:45 AM, Benjamin Root
mailto:ben.r...@ou.edu>> wrote:
On Fri, Aug 2, 2013 at 1:36 PM, Drain, Theodore R (392P)
mailto:theodore.r.dr...@jpl.nasa.gov>> wrote:
I have three
PM, Drain, Theodore R (392P) wrote:
> I have an application where the user can edit line colors and other
> attributes after the plot is drawn. The artists update just fine but the
> legend doesn't change.
>
>>From what I can see in the legend code, it doesn't seem like
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 Dr
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 cr
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 p
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.
___
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
___
13 matches
Mail list logo