bqplot.pyplot.hist

bqplot.pyplot.hist(sample, options={}, **kwargs)[source]

Draw a histogram in the current context figure.

Parameters:
  • sample (numpy.ndarray, 1d) – The sample for which the histogram must be generated.
  • options (dict (default: {})) – Options for the scales to be created. If a scale labeled ‘counts’ is required for that mark, options[‘counts’] contains optional keyword arguments for the constructor of the corresponding scale type.
  • axes_options (dict (default: {})) – Options for the axes to be created. If an axis labeled ‘counts’ is required for that mark, axes_options[‘counts’] contains optional keyword arguments for the constructor of the corresponding axis type.