I'm not sure Eduardo's message ever made to to the list (but I might be wrong).

---------- Forwarded message ----------
Date: Fri, 22 Jul 2005 14:42:48 -0800
From: Eduardo Bergel <[EMAIL PROTECTED]>
To: 'James Graham' <[EMAIL PROTECTED]>
Cc: 'Eduardo Bergel' <[EMAIL PROTECTED]>
Subject: RE: [Veusz-discuss] veusz

Hi.

I am beginner programmer develping an application in python, that produce a
number of scatterplots and histograms (see www.randomization.org). I tried
many packages (matplotlib, chaco, etc), but none fit the job. I am now using
ploticus. After a quick look Veusz seems to be great option. I am developing
in windows. I did manage to run Veusz in windows with the GUI, but I cant
make the embedded part work.
When I run this code, the program freeze.


import time
import numarray
import veusz.embed as veusz

g = veusz.Embedded('new win')
g.To( g.Add('page') )
g.To( g.Add('graph') )
g.SetData('x', numarray.arange(20))
g.SetData('y', numarray.arange(20)**2)
g.Add('xy')
g.Zoom(0.5)

time.sleep(60)
g.Close()

It cant pass the following line in embeded.py

        # wait for command to be executed
        # second thread writes a character into the pipe when done
        Embedded.pipefromveusz_r.read(1)

Any idea?

Thanks,

Eduardo.

-----Original Message-----
From: James Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 7:33 AM
To: Eduardo Bergel
Subject: Re: [Veusz-discuss] veusz

Did you intend to send an entirely blank message to the veusz mailing
list?

On 21 Jul 2005, at 19:22, Eduardo Bergel wrote:



_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss


Répondre à