On Thu, 11 Sep 2008 21:02:30 -0600, Steve Sullivan <[EMAIL PROTECTED]> wrote: > But boxplot seems to demand that each box represent the same > number of values. For example, if day 1 had 5 observations > and day 2 had only 4 obs, we'd have the program: > > import pylab as pb > vals = [ [1,2,3,4,5], [10,20,30,40]] > pb.boxplot( vals) > pb.show() > > This gives: > Traceback (most recent call last): ... > ValueError: setting an array element with a sequence.
This example works fine for me using matplotlib version 0.98.3 and I've also made many boxplots with unequal numbers of elements with earlier matplotlib versions. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users