0

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

wjandrea
  • 28,235
  • 9
  • 60
  • 81

0 Answers0