e15190.utilities.dataframe_histogram.errorbar

e15190.utilities.dataframe_histogram.errorbar(df, ax=None, **kwargs)

Invoke Matplotlib’s errorbar function.

Automatically fill up x, y and yerr in the errorbar function.

Parameters
  • df (pandas.DataFrame) – The histogram data stored in a dataFrame.

  • ax (matplotlib.axes.Axes, default None) – The axes to plot on. If None, the current axes will be used.

  • **kwargs – Additional keyword arguments to be passed to errorbar. Do not provide x, y, or yerr.

Returns

result – Return value of the errorbar function.

Return type

matplolib.container.ErrorbarContainer