AnimatedAccessor.__init__

AnimatedAccessor.__init__(data: Union[pandas.core.series.Series, pandas.core.frame.DataFrame])

Initialise BasePlotMethods with parent data as either Series or DataFrame

Parameters

data (typing.Union[pd.Series,pd.DataFrame]) – Will take _parent attribute from DataFrame/Series