visualizehistogramhistogram2

histogram2

visualize.histogram.histogram2(hist_bins, color=None, ax=None, label=None, mode='step')

Plot a histogram from bins.

Does not use the decorated function subsequent_calls_per_line() like histogram().

Parameters:
  • hist_bins (tuple) – tuple of the format (bins,hist) where bins are the bin edges and hist the bin values. Length of bins needs to be one element longer than hist.

  • color (str) – The color of the histogram. Default is None.

  • ax (Axes) – The matplotlib axes object. Default is None.

  • label (str) – The label of the histogram. Default is None.

  • mode (str) – The mode of the histogram. Default is step. Options: (‘step’, ‘filled’).

Returns:

None