|
From: Jae-Joon L. <lee...@gm...> - 2010-01-20 19:07:35
|
On Wed, Jan 20, 2010 at 1:36 PM, Eric Firing <ef...@ha...> wrote: > Second and related advice: don't fiddle directly with tick labels except as > a *last* resort. Instead, take care in selecting tick values, and if > necessary, customize the Formatter. > Agreed. It was a quick hack. > The fact that a default Formatter is writing -0.0 strikes me as a bug that > should be fixed in the Formatter; but it would be good to have more opinions > about this. > This is a behavior of python and I think it makes sense. In [92]: print "%2.1f" % (-9e-6,) -0.0 Regards, -JJ |