Re: [matplotlib-devel] Text.get_prop_tup omits _rotation_mode

2009-10-15 Thread Jae-Joon Lee
Thanks. I can reproduce the bug and the patch looks good. The patch is applied to the maint. branch and the svn head. Regards, -JJ On Thu, Oct 15, 2009 at 4:30 PM, Stan West wrote: > Developers: > > I happened upon a small bug in which changing the rotation mode of text does > not take effect

[matplotlib-devel] Text.get_prop_tup omits _rotation_mode

2009-10-15 Thread Stan West
Developers: I happened upon a small bug in which changing the rotation mode of text does not take effect until another property is changed: t = plt.text(0.5, 0.5, 'Lorem ipsum', rotation=-45) # rotation_mode defaults to None t.set_rotation_mode('anchor') plt.draw() # the new rotation mode doesn'

[matplotlib-devel] Basemap.shiftgrid without cyclic point

2009-10-15 Thread Eric Bruning
I'm using basemap to plot a dataset* that has longitude values like so: lon = [0, 2, 4, ..., 356, 358] I'd like to use Basemap.shiftgrid to transform the longitudes and data to the -180, 180 interval, but I get 'ValueError, cyclic point not included' since 360 isn't among the longitudes. Attache

Re: [matplotlib-devel] bug: 0.99.1.1 setup.py needs optional package wx or it fails

2009-10-15 Thread Eric Firing
Jens wrote: > Hi, > > on a fresh CentOS5.3 with SciPy installed from repository > http://software.opensuse.org/download/home:/ashigabou/ and additional > packages > freetype-devel-2.* > libpng-devel-1.* > pygtk2-devel > gtk2-devel > the matplotlib-setup script "setup.

Re: [matplotlib-devel] setup.py: qt4 not detected on centos5.3

2009-10-15 Thread Darren Dale
On Thu, Oct 15, 2009 at 4:26 AM, Jens wrote: > Hi, > > just a remark. > qt4 does not get detected on centos5.3 (probably the same on centos5.x > and redhat 5.x). Installed are qt4-4.2.1* packages and qt4-devel-4.2.1* > packages. You need to install PyQt4 -

[matplotlib-devel] setup.py: qt4 not detected on centos5.3

2009-10-15 Thread Jens
Hi, just a remark. qt4 does not get detected on centos5.3 (probably the same on centos5.x and redhat 5.x). Installed are qt4-4.2.1* packages and qt4-devel-4.2.1* packages. Greetings Jens -- Come build with us! The BlackB

[matplotlib-devel] bug: 0.99.1.1 setup.py needs optional package wx or it fails

2009-10-15 Thread Jens
Hi, on a fresh CentOS5.3 with SciPy installed from repository http://software.opensuse.org/download/home:/ashigabou/ and additional packages freetype-devel-2.* libpng-devel-1.* pygtk2-devel gtk2-devel the matplotlib-setup script "setup.py" fails with error: ...