Hello Erik, I can reproduce your problem (mpl 0.98.6svn) with the following little example:
import matplotlib.pyplot as plt ax = plt.axes() ax.set_xlim((0.0, .9999)) print ax.xaxis.get_majorticklocs() plt.show() 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? best regards Matthias On Wednesday 29 April 2009 18:07:17 Erik Thompson wrote: > How do I get the final "180" tick label to show up on my plots on the far > right of my x axis (or top of the y axis). > > When I do: print ax.xaxis.get_majorticklocs() it returns: > [ 0. 20. 40. 60. 80. 100. 120.] > > and I have a label for each of those locations: > ax.xaxis.set_ticklabels(["-180", "-120", "-60", "0", "60", "120", "180"]) > > For some reason the final "180" tick label doesn't display. > > Thanks, > Erik Thompson ------------------------------------------------------------------------------ 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