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