julkaar9/pynimate

No animation

Closed this issue · 6 comments

image
I tried the example code, but nothing happend, I wonder what might be the cause of this

what ide are you using?

pycharm

Ok I will take a look.

Seems like pycharm sciview cannot display animations https://youtrack.jetbrains.com/issue/PY-27233/Animation-not-updated-in-plots-window-scientific-view .

A potential fix is to display the animation in a separate gui.

Add these two lines

import matplotlib
matplotlib.use("TkAgg")

oh,it's useful, thank u

closing the issue, if you have any other issue, please create a new one.