From: Eric Wertman <ewertman@gm...>  20080912 15:15:58

>> 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. I had this problem just recently... It wasn't so much the box plot as the numpy array. I ended up plotting a list of numpy arrays of different lengths, rather than a single 2 dimensional array. Try: vals = [numpy.array([1,2,3,4,5]),numpy.array([10,20,30,40])] and see if it works? Eric 