Just got Goekhan's message, try a combination of both, might be worth.
a little inelegant but I got it working by combining both ideas:
def thousands(x, pos):
'The two args are the value and tick position'
xnew = moneyfmt(Decimal(x.__str__()))
return xnew
where moneyfmt is the function defined in Gokhan's link.
and then:
formatter = FuncFormatter(thousands)
...
ax1.yaxis.set_major_formatter(formatter)
thanks
- d