Skip to content Skip to sidebar Skip to footer

How Can I Save Animation.artist Animation?

I have a problem: My program is working well but when I try to save the animation that I plot, The compiler responds with an error. The Code: import matplotlib.pyplot as plt import

Solution 1:

I think you are with the same problem I had few days ago: here is the question I posted!

I solved my problem by changing line 163 from C:\Python27\Lib\site-packages\matplotlib\animation.py from

proc = Popen(command, shell=False, stdout=PIPE, stderr=PIPE)

to

proc = Popen(command, shell=True, stdout=PIPE, stderr=PIPE)

...However, I am not sure how "safe" is this change in the animation.py file! See more info here.

Post a Comment for "How Can I Save Animation.artist Animation?"