Fixed numpy.histogram issue in HistogramEditor

Also updated the HistogramEditor demo to include an example using the
numpy.histogram function.