[SciPy-dev] slice3.py and xplt

Nils Wagner nwagner at iam.uni-stuttgart.de
Thu Sep 21 05:56:01 CDT 2006


Hi all,

Meanwhile I have replaced numpy.lib.mlab by numpy.oldnumeric.mlab in
Mplot.py

The nexr problem is

>>> from scipy.sandbox import xplt
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/usr/lib64/python2.4/site-packages/scipy/sandbox/xplt/__init__.py",
line 48, in ?
    from Mplot import *
  File "/usr/lib64/python2.4/site-packages/scipy/sandbox/xplt/Mplot.py",
line 1013, in ?
    import colorbar
  File
"/usr/lib64/python2.4/site-packages/scipy/sandbox/xplt/colorbar.py",
line 11, in ?
    from slice3 import *
  File
"/usr/lib64/python2.4/site-packages/scipy/sandbox/xplt/slice3.py", line
1585, in ?
    _poly_permutations4 = _construct3 (0)
  File
"/usr/lib64/python2.4/site-packages/scipy/sandbox/xplt/slice3.py", line
1579, in _construct3
    mask = find_mask (below, _node_edges3 [itype])
TypeError: array cannot be safely cast to required type

How can I resolve this problem ?


Nils



More information about the Scipy-dev mailing list