Search code examples
pythonmatplotlibplotsymbolspound

Placing the pound symbol '£' in a Python plot axis label


Trying to place the pound symbol; '£', in a Python plot label had given me a headache.

Simple plt.xlabel(r"$\pounds$") does not seem to work. Suggestion are really appreciated.

Thanks


Solution

  • Thank you guys, I just reinstalled LaTeX and seems to work now. That was very weird. I was getting an exception in Tkinter callback only with the pound symbol---spent a couple of hours on that.