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
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
Try chr(163)
For future reference, go into your interpreter and type
>>> ord('£')
163
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.