[Matplotlib-users] Remove matplotlib 0.98 in order to install 0.99 on Ubuntu

2009-09-06 Thread Tsviki Hirsh
Dear list,I were trying to install matplotlib 0.99 on my ubuntu interpid, I had previously installed and extensively used the great 0.98 version. There is not seem to be any .deb file for 0.99 on ubuntu.packages site yet, so I tried to untar and install the source file. The installation went smooth

Re: [Matplotlib-users] Remove matplotlib 0.98 in order to install 0.99 on Ubuntu

2009-09-06 Thread Sandro Tosi
On Sun, Sep 6, 2009 at 11:11, Tsviki Hirsh wrote: > Dear list, > I were trying to install matplotlib 0.99 on my ubuntu interpid, I had > previously installed and extensively used the great 0.98 version. > There is not seem to be any .deb file for 0.99 on ubuntu.packages site yet, yes, we know and

[Matplotlib-users] savefig with pdf export in snow leopard causes a 'Bus error'

2009-09-06 Thread Yael Maguire
tmp user$ python pdftest.py Bus error code: import pylab as pl from numpy import linspace pl.plot(linspace(0,10,10)) pl.savefig('test.pdf') eps, png, jpg export works fine. Another issue is that you must change the default snow leopard python to 32-bit to get matplotlib to work properly.

[Matplotlib-users] cannot plot in loops with matplotlib 0.99. 0.98 works fine

2009-09-06 Thread tva
Hi all with matplotlib 0.98.5.3 this script will draw new lines as the scrips is running: from pylab import * x = arange(0,2*pi,0.01) for i in arange(1,20): y=sin(x+i) plot(x,y) # update the data show() with matplotlib 0.99, the exact same script ru

Re: [Matplotlib-users] pcolormesh - question

2009-09-06 Thread Christian Meesters
Hi, Let me reformulate my question: Is there a way to put ticklabels not beside, but between ticks (centered between)? TIA Christian On Fri, 2009-09-04 at 10:53 +0200, Christian Meesters wrote: > Hi, > > I have the following code: > > pylab.pcolormesh(data, multialignment='center') > x

Re: [Matplotlib-users] cannot plot in loops with matplotlib 0.99. 0.98 works fine

2009-09-06 Thread Jae-Joon Lee
I presume you're running that script in interactive shell? Try draw() instead of show(). Regards, -JJ On Sun, Sep 6, 2009 at 3:06 PM, tva wrote: > > Hi all > > with matplotlib 0.98.5.3 this script will draw new lines as the scrips is > running: > > from pylab import * > x = arange(0,2*pi,0.01)

Re: [Matplotlib-users] slow rendering of 2K images using Animation_blit_tk.py - bis

2009-09-06 Thread Jae-Joon Lee
There are a few ways to improve the speed, which, I guess, will give you factor of a few speed up. If you need more than that, I guess matplotlib is not suitable for your purpose. * try a simple interpolation method, eg. imshow(arr, interpolation="nearest") * reduce the image size. Unless you hav

Re: [Matplotlib-users] Segmentation fault with EPS output on matplotlib >=0.98.5.2

2009-09-06 Thread Jae-Joon Lee
I cannot reproduce this error. And I'm not sure if this is a bug in matplotlib or ghostscript. You may try to use different distiller. pl.rc('ps', usedistiller="xpdf") In my machine, both ghostscript and xpdf option works fine. But my gs version is different than yours GPL Ghostscript 8.61 (2007

Re: [Matplotlib-users] pcolormesh - question

2009-09-06 Thread Eric Firing
Christian Meesters wrote: > Hi, > > Let me reformulate my question: Is there a way to put ticklabels not > beside, but between ticks (centered between)? There is presently no clean mechanism for this. A workaround is to use minor ticks centered between the major ticks, and label only the minor