Hi,

I have installed python2.4, the last versions of scipy and numarray, and matplotlib 0.85.

I have now constant problems trying to use my scripts, where I often make use of arrays.

It often gives me things like:

## ···

# ==========

/usr/lib/python2.4/site-packages/numarray/numarraycore.py:376: UserWarning: __array__ returned non-NumArray instance

_warnings.warn("__array__ returned non-NumArray instance")

---------------------------------------------------------------------------

numarray.libnumarray.error Traceback (most recent call last)

...

error: Type object lookup returned NULL for type -1

or similar problems which seems linked to the fact that somehow my arrays have :

<type 'scipy.ndarray'>

So if I try to do for example:

plot(x,y)

where x and y seem to be scipy.ndarray, it crashes with errors such as the one mentioned above.

(I tried to cast them as numarray.asarray but it keeps its scipy.ndarray whatever I do...)

So my question is :

- does anybody know what really changed in the last versions of scipy/numarray/matplotlib which now induces these crashes (before all was fine) ?

- what should I do to solve it (maybe I have to systematically use numarray functions by specifying "numarray." in front of all the "zeros", "arange" and so on..., but I have the impression this may not solve everything) ?

- how do I transform a scipy.ndarray into something compatible for matplotlib?

thanks for the help (I realize this is maybe more a numarray/scipy question, but maybe someone from the matplotlib crowd can help me: it seems that most of my scripts are crashing in similar ways - probably bad writing on my side... but I am here to learn..)

Eric

== for info, I use:

matplotlib version 0.85

platform is linux2

numerix numarray 1.4.1

backend GTKAgg version 2.8.0

Python 2.4.1 (#1, Sep 13 2005, 00:39:20)

IPython 0.6.15 -- An enhanced Interactive Python.