matplotlib/matplotlib — pull request #1477 by AmitAronovitch (2012-11-10 11:07:16+00:00)
Title: alternate fix for issue #997

The fix proposed in #998 changes the looping method, and introduces (tiny) differences in accuracy. As opposed, this PR keeps the loop intact, and fixes the issue using a special-purpose if statement.