On Sunday 17 December 2006 20:06, Eric Firing wrote: > John Hunter wrote: > [...] > > > Simson> To answer Eric's most recent posting: > > > > Simson> 1. I think that scientific notation should not be the > > Simson> default, unless numbers exceed 1E+7. > > > > I agree with this -- scientific notation kicks in too soon IMO. I > > think an rc setting would be fine. I am not adverse to more rc > > settings personally. I haven't seen too many problems arising from > > having a lot of rc settings. > > I have added an rc setting called axes.formatter.limits and set the > defaults to -7, 7, so that now scientific notation starts at 1e+-7. This > may be too large for some tastes--but at least now it is configurable. > Maybe other users will comment on what they think the defaults should > be. I don't have a strong opinion.
I think think the name for this rc setting could be improved. How about: (x,y)tick.scientific_notation.threshold or axes.scientific_notation.threshold > I also added a convenience method to the Axes class (called > ticklabel_format())to make it easier to turn scientific notation on or > off on either or both axes, with the idea that other formatting control > might be added to the method later. I have not made the method a pylab > function yet; I would rather wait until it settles down and people have > had a chance to request a different name or turn thumbs down on the > whole thing or whatever. > > Suggestions for better names or other aspects of these API additions are > welcome. Something like use_scientific_notation() would be much clearer, in my opinion. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users