animate

Animations for stratum retention policies.

Functions

policy_panel_animate(...[, do_show, save_as])

Animate evolution of column and its properties under a retention policy.

stratum_retention_animate(...[, do_show, ...])

Animate evolution of strata histories under a stratum retention policy.

policy_panel_animate(stratum_retention_policy: Any, num_generations: int, do_show: bool = False, save_as: str | None = None) FuncAnimation

Animate evolution of column and its properties under a retention policy.

Parameters

stratum_retention_policyany

Object specifying stratum retention policy.

num_generationsint

Number of generations to plot.

do_showbool, optional

Whether to show() the plot automatically.

save_asstr, optional

If set, save animation as file type specified.

stratum_retention_animate(stratum_retention_policy: Any, num_generations: int, do_show: bool = False, save_as: str | None = None, draw_extant_history: bool = True, draw_extinct_history: bool = True, draw_extinct_placeholders: bool = False) FuncAnimation

Animate evolution of strata histories under a stratum retention policy.

Parameters

stratum_retention_policyany

Object specifying stratum retention policy.

num_generationsint

Number of generations to plot.

do_showbool, optional

Whether to show() the plot automatically.

save_asstr, optional

If set, save animation as file type specified.