neuralib.plot.animation
- neuralib.plot.animation.plot_scatter_animation(x, y, t=None, *, step=None, size=10, output=None, **kwargs)[source]
Plot xy scatter animation with given time points
- Parameters:
x (np.ndarray) – x loc. Array[float, T]
y (np.ndarray) – y loc. Array[float, T]
t (np.ndarray | None) – time array in sec. Array[float, T]
size (int) – size of the scatter
step (int | None) – step run per datapoint
output (PathLike | None) – output for animation. i.e., *.gif
kwargs – additional arguments passed to
FuncAnimation()
- Returns:
- Return type:
None