matplotlib/matplotlib — pull request #1392 by efiring (2012-10-14 08:01:21+00:00)
Title: Fix by Yannick Copin for hist autoscaling bug; closes issue #841

The important thing is to get this bug fixed with this one-liner. hist could use a good test suite, but that is another matter.