Implemented fix to issue 196 on github for log=True and histtype='step'

A solution was proposed in Issue #196.  This pull request implements that proposed solution.