John Hunter wrote: > On Sat, May 30, 2009 at 11:52 AM, Eric Firing <efir...@hawaii.edu> 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.
Possible, but I think there is a much better solution along the lines I suggested earlier. I have it partly implemented. To really do it right will require a little bit of work on all the interactive backends; it might be very little and very easy. It prompted my question starting another thread as to whether we can drop support for GTK < 2.4 so as to simplify that backend. Eric > > JDH > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users