Re: [Matplotlib-users] boxplot with different data length

2007-01-08 Thread Pierre GM
On Monday 08 January 2007 04:34, Gerhard Spitzlsperger wrote: > Dear All, > > I am quite new to matplotlib and facing some trouble using boxplots. > > I'd like to plot two boxes (different length of data) in one plot, from > the docs > Could you point me to what I do wrong? I need especially > the

[Matplotlib-users] boxplot with different data length

2007-01-08 Thread Gerhard Spitzlsperger
Dear All, I am quite new to matplotlib and facing some trouble using boxplots. I'd like to plot two boxes (different length of data) in one plot, from the docs I understood: from pylab import * data = [[1.1, 2.1, 3.1], [1, 2.1]] boxplot(data, positions=[1,2]) but this gives me: Traceback (mos