Browse Source

Set extremes as the default box mode according to popular demand. Fix #121 #149

pull/219/merge
Florian Mounier 10 years ago
parent
commit
b7bc1b8b5b
  1. 1
      CHANGELOG
  2. 2
      pygal/graph/box.py

1
CHANGELOG

@ -7,6 +7,7 @@ V 2.0.0 UNRELEASED
Fix DateTimeLine time data loss (#193)
Fix no data for graphs with only zeroes (#148)
Support value formatter for pie graphs (#218) (thanks never-eat-yellow-snow)
Add new Box plot modes and outliers and set extremes as default (#226 #121 #149) (thanks djezar)
V 1.7.0
Remove DateY and replace it by real XY datetime, date, time and timedelta support. (#188)

2
pygal/graph/box.py

@ -188,7 +188,7 @@ class Box(Graph):
sum(quartiles) / len(quartiles)))
@staticmethod
def _box_points(values, mode='1.5IQR'):
def _box_points(values, mode='extremes'):
"""
Default mode: (mode='1.5IQR' or unset)
Return a 7-tuple of min, Q1 - 1.5 * IQR, Q1, Median, Q3,

Loading…
Cancel
Save