BarChartRace.anim_func

BarChartRace.anim_func(i: int) → None[source]

Animation function, removes all bars and updates legend/period annotation.

Parameters

i (int) – Frame index for animation