e15190.utilities.dataframe_histogram.hist

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

Invoke Matplotlib’s hist function.

Automatically fill up x, weights, range, and bins in the hist 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 hist. Do not provide x, weights, range, or bins.

Returns

result – Return value of the hist function.

Return type

matplolib.container.HistContainer