|
From: <as...@us...> - 2009-12-18 22:25:43
|
Revision: 8040
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8040&view=rev
Author: astraw
Date: 2009-12-18 22:25:35 +0000 (Fri, 18 Dec 2009)
Log Message:
-----------
Don't limit notch size in boxplot to q1-q3 range
Modified Paths:
--------------
trunk/matplotlib/CHANGELOG
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG 2009-12-18 22:25:26 UTC (rev 8039)
+++ trunk/matplotlib/CHANGELOG 2009-12-18 22:25:35 UTC (rev 8040)
@@ -1,3 +1,6 @@
+2009-12-18 Don't limit notch size in boxplot to q1-q3 range, as this
+ is effectively making the data look better than it is. - ADS
+
2009-12-18 mlab.prctile handles even-length data, such that the median
is the mean of the two middle values. - ADS
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2009-12-18 22:25:26 UTC (rev 8039)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2009-12-18 22:25:35 UTC (rev 8040)
@@ -5035,10 +5035,6 @@
else:
notch_max = med + 1.57*iq/np.sqrt(row)
notch_min = med - 1.57*iq/np.sqrt(row)
- if notch_max > q3:
- notch_max = q3
- if notch_min < q1:
- notch_min = q1
# make our notched box vectors
box_x = [box_x_min, box_x_max, box_x_max, cap_x_max, box_x_max,
box_x_max, box_x_min, box_x_min, cap_x_min, box_x_min,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|