On Saturday 16 December 2006 16:02, Eric Firing wrote: > It sounds like the real problem is that the initial use of asarray in > boxplot is a bug--it should transparently support an object array, as > you suggest (but numpy only), or an ordinary array, *or* a list or tuple > of data vectors, and all this should be clear in the docstring and the > example. Correct? I hope so, because I have made the change in svn. > (Well, maybe not enough changes to the example yet.)
Fully agreed. There's no need for the transformation to array: the only variable which is array-related is the number of columns (viz, the number of boxes to plot). OK, there's also that: for i,pos in enumerate(positions): d = x[:,i] But it'd be as easy to enumerate the array (after a first transpose, if its a regular ndarray...) ------------------------------------------------------------------------- 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