oceanspy.animate.TS_diagram

oceanspy.animate.TS_diagram(od, display=True, FuncAnimation_kwargs=None, **kwargs)[source]

Animate TS diagrams.

Parameters
od: OceanDataset

oceandataset used to plot.

display: bool

If True, display the animation.

FuncAnimation_kwargs: dict

Keyword arguments from matplotlib.animation.FuncAnimation()

**kwargs:

Keyword arguments from oceanspy.plot.TS_diagram()

Returns
anim: matplotlib.animation.FuncAnimation

Animation object