2010/7/29 Simon Friedberger <simon+matplot...@a-oben.org>:
> 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:
>> axis.set_label_position('top')
>> axis.set_ticks_position('none')

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().

Friedrich

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to