def __init__(self, **kw):
     # Explicitly call the AbstractDataSource constructor because
     # the ArrayDataSource ctor wants a data array
     AbstractDataSource.__init__(self, **kw)
     self.recalculate()
Example #2
0
 def __init__(self, data=array([]), sort_order="none", **kw):
     AbstractDataSource.__init__(self, **kw)
     self.set_data(data, sort_order)
     return
Example #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()