trajan.animation.Animation.build#

animation.Animation.build(blit=True)#

Build the matplotlib.animation.FuncAnimation.

The result is cached (for blit=True only); call set_fps() to invalidate the cache and rebuild on the next call.

Parameters:

blit (bool, optional) – Use blitting for faster rendering (default True). Pass False when the output will be embedded as jshtml (Jupyter) to avoid artefacts caused by the blit background-capture path.

Returns:

matplotlib.animation.FuncAnimation