Speed of animation with matplotlib.animation

ast none at gmail.com
Tue Jun 19 05:18:46 EDT 2018


Le 19/06/2018 à 10:57, Peter Otten a écrit :
> ast wrote:
> 
>> I noticed that the speed of animations made
>> with module matplotlib.animation always seems
>> wrong.
> 
>> dt = 0.1  # 100 ms
>   
>> interval : number, optional
>>
>>       Delay between frames in milliseconds. Defaults to 200.
>>
>>
>> What's wrong ?
> 
>>From the above I would conclude that you get a 100 ms delay with
> 
> dt = 100
> 
> 

So the animation should last 200*0.1 = 20s
but it is twice faster



More information about the Python-list mailing list