On Wed, Apr 29, 2009 at 12:21 PM, Matthias Michler
<matthiasmich...@gmx.net> wrote:
> where the last tick is out of the xlimits. Could this be the case for your
> example, too?
> Nevertheless the question still would be: Is this a bug in the handling of
> xticks and their corresponding labels?


get_majorticklocs (and similar methods) does not return the locations
of the ticks that will be plotted. It simply returns the tick values
generated by the locator instance. And among them, only those within
the axis limits will be drawn. My guess is that this was a design
decision, not a bug.

The following is a related post which includes some code snippets that
can be used to retrieve tick locations inside the axis limits.

http://www.nabble.com/eliminating-the-top-tick-on-an-axis-to19446256.html#a19446256

Regards,

-JJ

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to