Dear List, 

boxplots are not plotted correctly in case the 'x' argument has an even
number of elements. So when I do:

import matplotlib.pyplot as plt
import numpy as np

r_odd = np.array([1,2,3,4,5])
plt.boxplot(x=r_odd)
plt.show()

I get the correct boxplot but when I do:

r_even = np.array([1,2,3,4,5,6])
plt.boxplot()

I get a median at 4 which is incorrect. This is also easily compared
with the matlab boxplot function. Do I maybe miss anything here? I use
the most recent svn checkout (v0.98.6svn).

Best

Matthias





------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to