On Tuesday, March 20, 2012, Julien Rebetez <julien.rebe...@gmail.com> wrote:
> Thank you for your answer.
>
> I've read the numpy tutorial and I get it that array and matrices
> behave differently.
>
> Now, what I find kind of strange is that the plot I get when directly
> feeding the matrices to scatter
> doesn't really seem to represent anything.
> I think that, if possible, showing an error or a warning would be much
> more appropriate than showing
> a plot. It would let the user know that the problem is not with her
> dataset, but with the plot.
>
> Wouldn't it be possible to simply check the shape in scatter() and
> display a warning if it has more than one dimension ?
>
> Best,
> Julien

I think this is more of an issue that we simply never tested for matrices.
 As for the shape tests, scatter can take 2d arrays, iirc, with each column
being a different color. (again, all from my memory, which would easily
fail memcheck).

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

Reply via email to