add_animationsΒΆ

Subplot.add_animations(*funcs, pre_render=True, post_render=False)ΒΆ

Add function(s) that are called on every render cycle. These are called at the Subplot 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