Pygmt.text how to print "smaller than or equal" symbol (≤)

Hello,
Does anybody know how to print a text with the symbol “≤”.
I did not find how to make that even if with the octal code \246 does not work…

Thanks
Mickael.

PyGMT v0.10.0 added basic support of non-ASCII characters, so you can directly use , for example:

import pygmt

fig = pygmt.Figure()
fig.basemap(region=[0, 10, 0, 10], frame=True, projection="X10c")
fig.text(x=5, y=5, text="x≤y")
fig.show()