On Tue, Feb 22, 2011 at 1:42 PM, Alan G Isaac <ais...@american.edu> wrote:
> Am I overlooking tick format support for ``format``? > http://docs.python.org/library/functions.html#format > > If not, might it be added? > > Ordinarily I'd use FormatStrFormatter, but this time > I wanted percentages, so I had to (?) use FuncFormatter. > This was both surprising (because ``format`` is core > Python functionality) and confusing (because the docs > did not point out that the user-provided function must > take two arguments). > > Thanks, > Alan Isaac > > I second this. Given that the '%' approach to formatting will be deprecated in later releases of the 3.x series, it probably would be a good idea to start transitioning to the new approach. To start, I would like to see a note added to the FormatStrFormatter docs pointing to an example on how to use FuncFormatter to implement the new style formatter. Ben Root
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users