add_animations#

ImguiFigure.add_animations(*funcs, pre_render=True, post_render=False)#

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

Examples#

Simple Image Update

Simple Image Update

Simple 3D Line Animation

Simple 3D Line Animation

Multi-Subplot Image Update

Multi-Subplot Image Update