def __init__(self, **kw):
     # Explicitly call the AbstractDataSource constructor because
     # the ArrayDataSource ctor wants a data array
     AbstractDataSource.__init__(self, **kw)
     self.recalculate()
Beispiel #2
0
 def __init__(self, data=array([]), sort_order="none", **kw):
     AbstractDataSource.__init__(self, **kw)
     self.set_data(data, sort_order)
     return
Beispiel #3
0
 def __init__(self, **kw):
     # Explicitly call the AbstractDataSource constructor because
     # the ArrayDataSource ctor wants a data array
     AbstractDataSource.__init__(self, **kw)
     self.recalculate()