def __init__(self, project): self.project = project self.plot = create_timechart_container(project) self.plot_range_tools = self.plot.range_tools self.plot_range_tools.on_trait_change(self._selection_time_changed, "time") self.trait_view().title = self.get_title()
def __init__(self,project): self.project = project self.plot = create_timechart_container(project) self.plot_range_tools = self.plot.range_tools self.plot_range_tools.on_trait_change(self._selection_time_changed, "time") self.trait_view().title = self.get_title()
def __init__(self,project): self.project = project self.plot = create_timechart_container(project) self.plot_range_tools = self.plot.range_tools self.trait_view().title = "PyTimechart: "+project.filename