I am trying to plot having one of the axis Euro units. The function I am formatting is:
def money(x, pos):
return '$%1.0fB' % (x*1e-9)
and it works well with $. Now I need to interchange $ with € symbol, which is not directly recognized.
what I tried is:
def money(x, pos):
return r'$\euro$%1.0fB' % (x*1e-9)
but the terminal says:
Unknown symbol: \euro