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

Examples#

Scatter Animation Data

Scatter Animation Data

Scatter Animation Colors

Scatter Animation Colors