On Friday 11 January 2002 5:17 am, Alan W. Irwin wrote:
> On Thu, 10 Jan 2002, Joao Cardoso wrote:
> > Hi,
> > On Suse-7.2, with python-2.0, ./pythondemos.py, demo 9, with device x=
> > gives the following error after the "polar contour plot" (plot #7).
> > Traceback (most recent call last):
> > File "./pythondemos.py", line 31, in ?
> > import xw09
> > File "/home/jcard/plplot-devel/tmp/xw09.py", line 277, in ?
> > main()
> > File "/home/jcard/plplot-devel/tmp/xw09.py", line 269, in main
> > potential()
> > File "/home/jcard/plplot-devel/tmp/xw09.py", line 117, in potential
> > clevelpos =3D compress(clevel > 0., clevel)
> > TypeError: Comparison of multiarray objects other than rank-0 arrays =
> > not implemented.
> I am not going to worry about this one since such comparisons work grea=
> for my version of numpy (20.1, brought out in September). This version=
> part of Debian woody because woody hadn't gone into freeze at that poin=
> I think other distributions will also soon adopt numpy 20.1 (or even 20=
> which was brought out in December).
Don't forget to say this in the releases notes!
> If you have further interest you could
> download the latest versions of numpy from
> http://sourceforge.net/projects/numpy. Otherwise, just set clevpos =3D
> clevel on your local machine
> to get around this non-implementation in your
> version of numpy.
> > Also, on xw05, it fails with error
> > *** PLPLOT ERROR ***
> > plcol0: Please call plinit first, aborting operation
> > and lots of errors after that, ending with a seg. fault.
> > xw01, xw02, xw03 and xw04 runs OK.
> > I have not tried the other examples.
> Thanks very much for spotting this one! (I missed it because I did all=
> recent tests with single examples.) It turned out that xw04.py (and als=
> x04.tcl) were terminated with plend. As you discovered, this is not
> appropriate for multiplot examples such as pythondemos.py (and
> tcldemos.tcl). I also had to get rid of a nameclash that I had introdu=
> recently between x04.tcl and x01.tcl proc names. All changes have now =
> committed, and I now get good results for pythondemos.py and tcldemos.t=
> Could you check these scripts again, please, (by running plplot-test.tc=
> for my newly committed changes? Thanks in advance....
They now run OK (except x09). In the "bogun density" example, no contour=20
lines appear; also, it uses a gray colormap, instead of the default one.