|
From: Juergen H. <py...@el...> - 2013-03-30 17:37:25
|
Am 30.03.2013 16:29, schrieb Pawel Chojnacki: > Please pardon me, but what object is math.usetex attribute of? I can't find it in the documentation. > > http://matplotlib.org/users/usetex.html Mentions only text.usetex. > > You need to set mpl.rcParams['text.usetex'] = True For text you need unicode, for latex raw encoding. To have text and latex in one line, use xlabel(u'Häallo '+r'$\varphi$'+ 'r') Works for me, at least. |