def __init__(self, data=None, data_sorting="none", **kw): "See set_data() for description." self._data = array([]) HasStrictTraits.__init__(self, **kw) if data is not None: self.set_data(data, data_sorting) return
def __init__ (self, *args, **kws): self.inited = False HasStrictTraits.__init__ (self, *args, **kws) self.options = Options() self.add_data('A', self.data_source.data) self.options.selected_data = 'A' self.inited = True
def __init__(self, viewer=None): HasStrictTraits.__init__(self, viewer=viewer) self.startup()
def __init__(self, viewer = None): HasStrictTraits.__init__ (self, viewer=viewer) self.startup()