2010/7/29 Simon Friedberger <simon+matplotlib@...>:
> For some magical reason when I set the ticks_position to none, setting
> the label_position to 'top' is ignored.
> Did you try this? Is it another command arrangement thing?
> On 09:26 Thu 29.07.10, Friedrich Romstedt wrote:
No, I didn't try, it was just a collection of commands, but I was
wrong: .set_label_position() refers to the axis label, this is the
single string labeling all the ticks with their "labels", e.g. "This
is $x$ axis.".
What you will want to use is .set_tick_params(top=True,
labeltop=False, labelbottom=False) .
(But I didn't try this either. :-) set_ticks_position() is just a
shorthand for .set_tick_params().