Logo Search packages:      
Sourcecode: matplotlib version File versions

simple_timer_wx Namespace Reference

Detailed Description

A simple example of an animated plot using a wx backend


def update_line


 actor = fig.canvas.manager.frame
tuple ax = fig.add_subplot(111)
float dt = 0.05
tuple fig = plt.figure()
tuple id = wx.NewId()
tuple t = np.arange(0, 2*np.pi, 0.1)
tuple timer = wx.Timer(actor, id=id)

Generated by  Doxygen 1.6.0   Back to index