Making animations using matplotlib and ffmpegΒΆ