add total efficiency calculation
ran trailing-spaces + fix a typo in hist.py
pep8-ify
rename total_* to overall_*
add unit test + change the computation (now done after creating merged hists)
fix overflow treatment
Merge overall_efficiency and overall_errors
remove usage of numpy
add colobar to hist2d function
added colorbar to imshow function
cleanup
Merge pull request #594 from qbuat/master

[WIP] Total efficiency calculation
Fixed indention and naming as suggested in PR
colorbar boolean was not used in imshow
added contour labels to the countour plot
removed debug code
Fixed spelling
contourlabel -> label_contour
Merge pull request #596 from chrisboo/colorbar_2d_hist

Optionally add a color bar to the 2D matplotlib plots created with hist2d and imshow