On Mon, Mar 19, 2012 at 5:28 PM, questions anon <questions.a...@gmail.com>wrote:
> So when I add "np.logical_or" to the beginning of the script it makes no
> difference to the error message that I receive.
>
> I have tried reshaping the array but I receive an error message of:
> Traceback (most recent call last):
> File "<pyshell#0>", line 1, in <module>
> f.reshape(691,886)
> ValueError: total size of new array must be unchanged
>
> Is there a way to use np.genfromtxt and define the rows and columns on
> import?
>
> Thanks
>
>
I think you have two completely separate problems. They are completely
unrelated to each other. The np.logical_or() issue happens within Basemap
while your np.genfromtext() happens in your module. For the
np.logical_or() issue, I suspect that there is something wrong with your
installation (maybe EPD is conflicting with a pre-existing python
install?). As for np.genfromtext(), I would put the code back to the way
it was before (the original call looked right to me).
Ben Root
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users