pyqtgraph/pyqtgraph — pull request #24 by anntzer (2014-01-14 09:34:53+00:00)
Title: Nicer range for value histogram of integer images.

When an ImageItem's data has an integer dtype, this patch ensures that
each bin of the LUT histogram contains the same number of integer
values, in order to avoid "spikes" in the histogram that are merely due
to some bins covering more integer values than others.

This commit needs testing (it was rebased from an old commit).