foxes.output.FarmResultsEval.gen_stdata(turbines, variable, fig=None, ax=None, figsize=None, legloc='lower right', animated=True, ret_im=True)[source]

Generates state-turbine data, intended to be used in animations

Parameters

turbines: list of int

The turbines for which to scatter data

variable: str

The variable name

fig: plt.Figure, optional

The figure object

ax: plt.Axes, optional

The figure axes

figsize: tuple, optional

The figsize for plt.Figure

legloc: str

The legend location

animated: bool

Flag for animated output

ret_im: bool

Flag for image return,

Yields

fig: matplotlib.Figure

The figure object

im: List of matplotlib.collections.PathCollection, optional

The scatter artists