f90052df2d4393b5f88fee886de5741e869a40f1,examples/demo/updating_plot/updating_plot4.py,PlotFrame,_create_window,#PlotFrame#,76
Before Change
// Set the timer to generate events to us
timerId = wx.NewId()
self.timer = wx.Timer(self, timerId)
self.Bind(wx.EVT_TIMER, self.onTimer, id=timerId)
self.timer.Start(100.0, wx.TIMER_CONTINUOUS)
self.container = container
return Window(self, -1, component=container)
After Change
for i, a_plot in enumerate(self.animated_plots):
a_plot.plot.position = [50 + (i%3)*(PLOT_SIZE+50), 50 + (i//3)*(PLOT_SIZE+50)]
self.timer = Timer(100.0, self.onTimer)
self.container = container
return Window(self, -1, component=container)
def onTimer(self, *args):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 15
Instances
Project Name: enthought/chaco
Commit Name: f90052df2d4393b5f88fee886de5741e869a40f1
Time: 2013-03-06
Author: tsyu80@gmail.com
File Name: examples/demo/updating_plot/updating_plot4.py
Class Name: PlotFrame
Method Name: _create_window
Project Name: enthought/chaco
Commit Name: f90052df2d4393b5f88fee886de5741e869a40f1
Time: 2013-03-06
Author: tsyu80@gmail.com
File Name: examples/demo/updating_plot/updating_plot1.py
Class Name: PlotFrame
Method Name: _create_window
Project Name: enthought/chaco
Commit Name: f90052df2d4393b5f88fee886de5741e869a40f1
Time: 2013-03-06
Author: tsyu80@gmail.com
File Name: examples/demo/updating_plot/updating_plot5.py
Class Name: PlotFrame
Method Name: _create_window
Project Name: enthought/chaco
Commit Name: f90052df2d4393b5f88fee886de5741e869a40f1
Time: 2013-03-06
Author: tsyu80@gmail.com
File Name: examples/demo/updating_plot/updating_plot2.py
Class Name: PlotFrame
Method Name: _create_window
Project Name: enthought/chaco
Commit Name: f90052df2d4393b5f88fee886de5741e869a40f1
Time: 2013-03-06
Author: tsyu80@gmail.com
File Name: examples/demo/updating_plot/updating_plot3.py
Class Name: PlotFrame
Method Name: _create_window