After switching to "CURENT" and making the quiver change, everything
seems to work fine. Try updating your copy of numpy to a later
version. It seems that they have introduced backwards compatible calls
for ma.


On Thu, Nov 27, 2008 at 12:55 PM, Ionut Vancea <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On Thu, Nov 27, 2008 at 5:19 PM, Ionut Vancea <[EMAIL PROTECTED]> wrote:
>> Hello, again,
>>
>> Just to mention a new problem which I found is when I tried to run as
>> example "python examples/flow/stokesCavity.py" I obtained the error:
>>
>> .......<skip>......
>>    pylab.quiver2(X, Y, U, V, 0.15)
>> AttributeError: 'module' object has no attribute 'quiver2'
>>
>> So I needed to replace "quiver2" with "quiver" in
>>
>> fipy/viewers/matplotlibViewer/matplotlibVectorViewer.py
>>
>> in order to work.
>
> a new problem in file "fipy/tools/numerix.py" I had to replace:
>
> "from numpy.core import ma as MA" with "from numpy import ma as MA"
>
> Cheers,
> Ionut
>
>
> I am sorry that I sent already three emails to the list in a short
> time, but I would like to see if these errors occur because I did
> something wrong or there has to be changed in your code in order to
> work properly.
>
>



-- 
Daniel Wheeler

Reply via email to