summaryrefslogtreecommitdiff
path: root/util/stats/info.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/stats/info.py')
-rw-r--r--util/stats/info.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/stats/info.py b/util/stats/info.py
index 4cb55f564..c1e18bb3f 100644
--- a/util/stats/info.py
+++ b/util/stats/info.py
@@ -174,7 +174,7 @@ def WrapValue(value):
class Statistic(object):
def __getattr__(self, attr):
if attr in ('data', 'x', 'y'):
- result = self.source.data(self, self.bins, self.ticks)
+ result = self.source.data(self, self.ticks)
self.data = result.data
self.x = result.x
self.y = result.y
@@ -183,7 +183,7 @@ class Statistic(object):
def __setattr__(self, attr, value):
if attr == 'stat':
raise AttributeError, '%s is read only' % stat
- if attr in ('source', 'bins', 'ticks'):
+ if attr in ('source', 'ticks'):
if getattr(self, attr) != value:
if hasattr(self, 'data'):
delattr(self, 'data')
@@ -759,7 +759,6 @@ def NewStat(source, data):
stat = Formula()
stat.__dict__['source'] = source
- stat.__dict__['bins'] = None
stat.__dict__['ticks'] = None
stat.__dict__.update(data.__dict__)