Re: [Matplotlib-users] last tick label not showing up

2009-04-29 Thread Erik Thompson
Matthias, Thanks for your help. When I did ax.set_xlim((0.0, 120.0)) the 180 tick showed up although ugly on some plots because there was missing data at the 180 degrees mark. I then copied all the datapoints from the -180 degrees into new 180 degree data points (they are the supposed to be the

Re: [Matplotlib-users] last tick label not showing up

2009-04-29 Thread Jae-Joon Lee
On Wed, Apr 29, 2009 at 12:21 PM, Matthias Michler 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 simi

Re: [Matplotlib-users] last tick label not showing up

2009-04-29 Thread Matthias Michler
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, .)) print ax.xaxis.get_majorticklocs() plt.show() where the last tick is out of the xlimits. Could this be the case for your example