pep8
refactoring the plotting system to make stacked bar histogram possible.