[matplotlib-devel] bug: 0.99.1.1 setup.py needs optional package wx or it fails
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: ... wxPython: no * wxPython not found Traceback (most recent call last): File "setup.py", line 146, in ? import wx ImportError: No module named wx This does _not_ happen if I use the 0.99.0 archive (on the _same_ machine). It seems as if the setup.py 0.99.1.1 only runs if the optional package wx is installed. Greetings Jens -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] setup.py: qt4 not detected on centos5.3
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 BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] setup.py: qt4 not detected on centos5.3
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 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] bug: 0.99.1.1 setup.py needs optional package wx or it fails
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.py" fails with error: > > ... > wxPython: no > * wxPython not found > Traceback (most recent call last): > File "setup.py", line 146, in ? > import wx > ImportError: No module named wx > > This does _not_ happen if I use the 0.99.0 archive (on the _same_ machine). > > It seems as if the setup.py 0.99.1.1 only runs if the optional package > wx is installed. It sounds to me like this is caused by a glitch in the release process, in which a version of setup.cfg was included accidentally. If you have such a file, try deleting it. Eric > > Greetings > Jens > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > Matplotlib-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] Basemap.shiftgrid without cyclic point
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. Attached is a version of shiftgrid that attempts to handle the non-cyclic case. There are pseudo-unit-tests that demonstrate the cyclic and non-cyclic case for a 180 degree shift. Thanks, Eric *SST anomalies from http://nomads.ncdc.noaa.gov/thredds/dodsC/ersstv3Agg shiftgrid.py Description: Binary data -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] Text.get_prop_tup omits _rotation_mode
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't take effect
t.set_rotation(-44)
plt.draw() # now the angle and rotation mode are updated
This seems to be corrected by adding _rotation_mode to the properties handled
by get_prop_tup; I've attached a patch for your review.
text.Text._get_prop_tup.patch
Description: Binary data
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Text.get_prop_tup omits _rotation_mode
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 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't take effect
> t.set_rotation(-44)
> plt.draw() # now the angle and rotation mode are updated
>
> This seems to be corrected by adding _rotation_mode to the properties
> handled by get_prop_tup; I've attached a patch for your review.
>
> --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
