tweak bin alignment
PEP8
Adjusted test-limits on categorical histograms