AnimatedAccessor.barh

AnimatedAccessor.barh(x: str = None, y: str = None, **kwds)[source]

Make an animated horizontal bar plot.

Parameters
  • x (str, optional) – label or position. Defaults to DataFrame.index. Column to be used on categories.

  • y (str, optional) – label or position. Defaults to All numeric columns in DataFrame. Column to be plotted from the DataFrame

Returns

BarChart instance for use with multiple plots or .save()

Return type

BarChart