matplotlib/matplotlib — pull request #1589 by dopplershift (2012-12-12 04:20:20+00:00)
Title: Fix shifted ylabels (#1571)

Account for rotation mode when setting axis label position. This is used, for instance, when setting labels on colorbars.