Re: [Matplotlib-users] FuncFormatter and Colorbar

2008-01-16 Thread Thorsten Kranz
Hi MAtthias, yes, I can confirm this behavior. This is what I get as well. But the solution is easy: just get rid of th line cb.ax.yaxis.set_major_formatter(formatter) We don't need it anymore and it messes it all up. Without it, it should work. Greetings, Thorsten 2008/1/11, Matthias Michler

Re: [Matplotlib-users] FuncFormatter and Colorbar

2008-01-11 Thread Matthias Michler
Hi Thorsten, On Wednesday 09 January 2008 15:35, Thorsten Kranz wrote: Hi list, Hi Matthias, I found another way to deal with this problem. when defining the colorbar, one can give an additional kwarg format, so by defining the kwarg format=formatter, we solved the problem. I'm happy that

[Matplotlib-users] FuncFormatter and Colorbar

2008-01-09 Thread Thorsten Kranz
Hi to all! I have a question concerning reformatting of axis-ticks via the FuncFormatter-class. In german, it's common to use a comma as separator for decimal numbers instead of a dot. To realize it in matplotlib, I do something like from matplotlib.ticker import FuncFormatter import pylab

Re: [Matplotlib-users] FuncFormatter and Colorbar

2008-01-09 Thread Matthias Michler
Hello list, Hello Thorsten, On Wednesday 09 January 2008 11:38, Thorsten Kranz wrote: I have a question concerning reformatting of axis-ticks via the FuncFormatter-class. In german, it's common to use a comma as separator for decimal numbers instead of a dot. To realize it in matplotlib, I do

Re: [Matplotlib-users] FuncFormatter and Colorbar

2008-01-09 Thread Thorsten Kranz
Hi list, Hi Matthias, I found another way to deal with this problem. when defining the colorbar, one can give an additional kwarg format, so by defining the kwarg format=formatter, we solved the problem. Anyway, I think an option as Matthias implemented would be very handy for all those users