Re: [Matplotlib-users] custom x axis integers boxplot

2015-06-13 Thread pb89
yes, that works as well! thanks for your suggestion -- View this message in context: http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45776.html Sent from the matplotlib - users mailing list archive at Nabble.com. --

Re: [Matplotlib-users] custom x axis integers boxplot

2015-06-13 Thread Paul Hobson
Oh sorry that should be "... positions=np.arange(11, 36)) On Sat, Jun 13, 2015 at 7:49 AM, pb89 wrote: > it tried this before, but it throws an exception: > > TypeError: boxplot() got an unexpected keyword argument 'pos' > > > > > > -- > View this message in context: > http://matplotlib.1069221

Re: [Matplotlib-users] custom x axis integers boxplot

2015-06-13 Thread pb89
it tried this before, but it throws an exception: TypeError: boxplot() got an unexpected keyword argument 'pos' -- View this message in context: http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45774.html Sent from the matplotlib - users mailing list archive at

Re: [Matplotlib-users] custom x axis integers boxplot

2015-06-13 Thread Paul Hobson
Probably a better way would be to the the "pos" arguments to boxplot (bp=boxplot(array, pos=range(11, 36)). That *should* work. Let me know if it doesn't. On Fri, Jun 12, 2015 at 4:36 PM, pb89 wrote: > thanks for the quick answer Jeffrey, its working! > > -peter > > > > -- > View this message in