Closed as not planned
Description
Moving the ticks to the top or to the right resets tick formatting (e.g., font size, rotation).
xticks(range(5), rotation=90, size='xx-large')
gca().xaxis.tick_top()
yticks(range(5), rotation=90, size='xx-large')
gca().yaxis.tick_right()
Hence, the following two segments give different results:
xticks(range(5), rotation=90, size='xx-large')
gca().xaxis.tick_top() # not rotated
and
gca().xaxis.tick_top()
xticks(range(5), rotation=90, size='xx-large') # rotated and xx-large font size
matplotlib version 1.4.2