|
From: John H. <jd...@gm...> - 2009-05-30 18:03:44
|
On Sat, May 30, 2009 at 11:52 AM, Eric Firing <ef...@ha...> wrote: > No, that applies to the axis ticks but not to the readout, and I think it is > the latter that Xavier is concerned with--at least that is what I have been > talking about, and want to improve. Just to clarify -- by "readout" do you mean the toolbar strings? At first I was assuming that since the toolbar formatting picks up the tick Formatter to format the strings, and ScalarFormatter uses rcParams['axes.formatter.limits'] to determine when to fall over to scientific notation, that this setting would be picked up by the toolbar. The reason it does not is because ScalarFormatter overrides Formatter.format_data_short, which is what the toolbar uses via Axes.format_xdata/format_ydata, and ScalarFormatter.format_data_short does not use the formatter.limits setting. Are we at least on the same page now? If so, is it advisable/possible to make format_data_short respect the formatter.limits setting so Xavier can customize it to his heart's content. JDH |