This post has NOT been accepted by the mailing list yet.
I am new to matplotlib and I am trying to get started with animation library.
There is an example here for a simple strip chart:
I tried to use this example in a thread. I created a simple threading.Thread class, and in it's run() method, called:
ani = animation.FuncAnimation(fig, scope.update, emitter, interval=10,True)
here is class:
def __init__(self, feeder):
self.fig, self.ax = plt.subplots()
self.scope = Scope(self.ax)
ani = animation.FuncAnimation(self.fig, self.scope.update, self.feeder.emit_ch1(), interval=1, blit=True)
but when I start this thread, it never shows the windows. Isn't this right usage?