[pymvpa] v0.4.7 - matplotlib.numerix import
Thorsten Kranz
thorstenkranz at googlemail.com
Wed Jul 13 15:09:18 UTC 2011
Hi Yarik,
Thanks for your quick reply and fix - yes, bleeding edge is nice -
only pymvpa 0.6 is not in all my scripts yet ;-)
Oh, good old days, when we had numeric, numarray and numpy all together...
damn, how did it suck not having a standard library for arrays!
Greetings,
Thorsten
2011/7/13 Yaroslav Halchenko <debian at onerussian.com>:
> Hi Thorsten,
>
>> I'm still using v0.4.7 and just updated my matplotlib to 1.1 - now
>> matplotlib.numerix is gone and thus mvpa.misc.plot.topo has a bug:
> thanks for the report -- great to see people trying bleeding edge (1.1
> seems to be not even released yet... or am I wrong?)
>
> I guess you have found an antique piece which was there to be compatible
> with the state-of-art modules of the past: actually that numerix.ma is
> pretty much a convenience one itself:
>
> try:
> from numpy.ma import * # numpy 1.05 and later
> except ImportError:
> from numpy.core.ma import * # earlier
> def getmaskorNone(obj):
> _msk = getmask(obj)
> if _msk is nomask:
> return None
> return _msk
> /usr/lib/pymodules/python2.6/matplotlib/numerix/ma/__init__.py
>
> so -- fixed in GIT... since you are living bleeding edge - I guess you are
> running pymvpa using version in GIT directly?
>
> On Wed, 13 Jul 2011, Thorsten Kranz wrote:
>
>> if externals.exists("pylab", raiseException=True):
>> import pylab as P
>> import matplotlib.numerix.ma as M
>
>> The numerix module was removed, and thus the import fails. Also
>> mvpa.suite cannot be imported anymore because of this error.
>
> --
> .-.
> =------------------------------ /v\ ----------------------------=
> Keep in touch // \\ (yoh@|www.)onerussian.com
> Yaroslav Halchenko /( )\ ICQ#: 60653192
> Linux User ^^-^^ [175555]
>
>
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
>
More information about the Pkg-ExpPsy-PyMVPA
mailing list