[pymvpa] v0.4.7 - matplotlib.numerix import
Yaroslav Halchenko
debian at onerussian.com
Wed Jul 13 15:05:29 UTC 2011
ha -- and I've fixed it in master quite some time ago already... damn
;-)
On Wed, 13 Jul 2011, Yaroslav Halchenko wrote:
> > 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.
--
=------------------------------------------------------------------=
Keep in touch www.onerussian.com
Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic
More information about the Pkg-ExpPsy-PyMVPA
mailing list