AnimatedAccessor

class pandas_alive.plotting.AnimatedAccessor(data: Union[pandas.core.series.Series, pandas.core.frame.DataFrame])[source]

For including accessor on df, to enable df.plot_animated()

Parameters

BasePlotMethods ([type]) – BasePlotMethods within pandas

Attributes

AnimatedAccessor.df

Contains _parent DataFrame

Methods

AnimatedAccessor.__init__(data)

Initialise BasePlotMethods with parent data as either Series or DataFrame

AnimatedAccessor.barh([x, y])

Make an animated horizontal bar plot.