subscript and italic in sns

182 Views Asked by At

I'm trying to use subscripts and italic in the y label in sns, this is what I would like to write:

enter image description here

This is the code I am using, but the 1/2 is not in italic and subscript. Any advice?

#ax2.set(ylabel=r'$g_s{t}$') 
ax2.set(ylabel=' $g_s$ t\u2081/\u2082')

this is what I get now (sorry it is a screenshot from the ylabel

Thank you in advance

0

There are 0 best solutions below