matplotlib/matplotlib — pull request #1066 by piti118 (2012-08-10 09:49:29+00:00)
Title: fix limit calculation of step* histogram

The limit calculation for histogram was switched for horizontal and vertical orientation.

Bar defines the vertical one as the one that x axis represents bin interval and y axis represent bin count.
The former one try to set y axis limit to bin interval for step* with vertical orientation which is wrong.

This PR fixed it.