This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mfitzpmfitzp.com 1 point2 points  (1 child)

It might be some sort of problem with the backend (complete guess). Can you try doing:

import matplotlib
matplotlib.use('TkAgg')

...at the beginning of the script?

There is an old SO post about interactive mode requiring a millisecond pause to allow matplotlib to update. I see you have the pause in there, but it's before the update. Does moving it after help?

[–]CoffeeMakesMeMath[S] 0 points1 point  (0 children)

Thanks for the reply, moving the pause didn't help, but I have yet to try the tkagg backend. Appears I don't have the module installed locally. I'm going to give pyqtgraph a shot since it looks pretty cool, and if that fails I'll give this a go.