hist

nbi_stat.hist(data, **kwargs)[source]

Calculates and plots a histogram of data

Parameters:
  • data (array-like) – The data to histogram

  • kwargs – A mixture of keyword arguments for NumPy histogram and Matplotlib errorbar. A few common keywords are

Returns:

ec – Collection of artists

Return type:

matplotlib.ErrorbarCollection