BUG : fix bug due undefined attribute
MNT: Removed dead code
MNT: Initial colormap of image histo same as image