python - Can't render bold latex fonts in matplotlib -


i have weird issue can't render bold fonts when enable tex in matplotlib. have following lines in script:

rc('font',family='serif',serif='cm16') rc('text', usetex=true) 

and if try make axis label

plt.xlabel(r'\textbf{foo}') 

or

plt.xlabel('foo',fontweight='bold')  

nothing happens, text appears in regular weight. don't error messages when run script. exact same script works fine , produces bold text if run on seperate mac desktop. fwiw 2 systems tested on have same matplotlib version (1.3.1) laptop have problem on has tex live debian ver. 6.1.1 , mac has tex live 6.2.0.

have other linux users encountered problem??


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -