Nils,

Fixed in svn.

Thanks.

Eric

Nils Wagner wrote:

> Hi Eric,
> 
> Thank you very much. Here is another new problem
> 
>     scatter(mu*ones(n),w.real,s=1)
>   File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line
> 3111, in scatter
>     ret =  gca().scatter(*args, **kwargs)
>   File "/usr/lib64/python2.4/site-packages/matplotlib/axes.py", line
> 3329, in scatter
>     self.autoscale_view()
>   File "/usr/lib64/python2.4/site-packages/matplotlib/axes.py", line
> 991, in autoscale_view
>     XL = self.xaxis.get_major_locator().autoscale()
>   File "/usr/lib64/python2.4/site-packages/matplotlib/ticker.py", line
> 836, in autoscale
>     return take(self.bin_boundaries(dmin, dmax), [0,-1])
>   File
> "/usr/lib64/python2.4/site-packages/numpy/oldnumeric/functions.py", line
> 16, in take
>     return N.take(a, indicies, axis)
>   File "/usr/lib64/python2.4/site-packages/numpy/core/fromnumeric.py",
> line 51, in take
>     return take(indices, axis, out, mode)
> IndexError: index out of range for array
>>>> mu
> 0.0
>>>> ones(n)
> array([ 1.,  1.,  1.])
>>>> w
> array([ 2.+0.j, -3.+0.j,  1.+0.j])
> 
> Cheers
>                Nils
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to