class foxes.output.SeqFlowAnimationPlugin(foxes.algorithms.sequential.SequentialPlugin)[source]

Plugin for creating data for a 2D flow animation during sequential iterations

Attributes

orientation: str

The orientation, either “yx”, “xz” or “yz”

pars: dict

Additional parameters for plotting

Public members

SeqFlowAnimationPlugin(orientation, **pars)[source]

Constructor.

initialize(algo)[source]

Initialize data based on the intial iterator

update(algo, fres, pres=None)[source]

Updates data based on current iteration

gen_images(ax)[source]

Parameters

ax: matplotlib.Axis

The plotting axis

finalize(algo)[source]

Finalize data based on the final iterator