add_animationsΒΆ

Figure.add_animations(*funcs, pre_render=True, post_render=False)[source]ΒΆ

Add function(s) that are called on every render cycle. These are called at the Figure level.

Parameters:
  • *funcs (callable(s)) – function(s) that are called on each render cycle

  • pre_render (bool, default True, optional keyword-only argument) – if true, these function(s) are called before a render cycle

  • post_render (bool, default False, optional keyword-only argument) – if true, these function(s) are called after a render cycle