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
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
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