save_movie

behavenet.plotting.save_movie(save_file, ani, frame_rate=15)[source]

Save out matplotlib ArtistAnimation

Parameters:
  • save_file (str) – full save file (path and filename)

  • ani (matplotlib.animation.ArtistAnimation object) – animation to save

  • frame_rate (int, optional) – frame rate of saved movie