While testing this dynamic plot there were errors and so I fixed them. Canvas must be drawn before ax.draw_artist(line).
t = data_gen.t
tp=t
if t==tp:
fig.canvas.draw()
While testing this dynamic plot there were errors and so I fixed them. Canvas must be drawn before ax.draw_artist(line).
t = data_gen.t
tp=t
if t==tp:
fig.canvas.draw()
0 comments:
Post a Comment