Re: [Matplotlib-users] Change the text of yticklabels

2009-08-02 Thread Eric Firing
Jae-Joon Lee wrote: > Use pylab's yticks command. > > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.yticks > > Or Axes.set_yticklabels together with Axes.set_yticks. > > http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_yticklabels > > -JJ O

Re: [Matplotlib-users] Change the text of yticklabels

2009-08-02 Thread Jae-Joon Lee
Use pylab's yticks command. http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.yticks Or Axes.set_yticklabels together with Axes.set_yticks. http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_yticklabels -JJ On Fri, Jul 31, 2009 at 4:07 PM, Lukas

[Matplotlib-users] Change the text of yticklabels

2009-07-31 Thread Lukas Hetzenecker
Hello, I have y values in the range of -100 to 100. I want that the negative values are shown as positive (the minus gets removed from the output). I tried a for loop over all self.ax.get_yticklabels() and call label.set_text("...") on each item but it didn't work - nothing got changed. If I p