matplotlib/matplotlib — pull request #3942 by tacaswell (2014-12-23 15:21:29+00:00)
Title: MNT : slight refactor of Axis.set_ticklabels

update both labels (top/bottom or left/right), even if they are not both visible.

Did this while looking into #3921