On Sat, Feb 13, 2010 at 3:00 PM, Jae-Joon Lee <lee.j.j...@gmail.com> wrote: > If you're happy with the default formatter behavior (which seems to > match with your #3 requirement), just reuse it. > > class MyFormatter(ScalarFormatter): > def __call__(self, val, pos=None): > if val < 0: > return '' > else: > return ScalarFormatter.__call__(self, val) > > > -JJ
Thank you very much. That is so simple and works beautifully. Che ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users