python - writing greek letters with subscripts with matplotlib -


i have use greek letter subscript axes label, thought use latex symbols. using following code:

from matplotlib import rc rc('font',**{'family':'sans-serif','sans-serif':['helvetica']}) rc('text', usetex=true) 

and in plot have, example:

ylabel(r'$\boldsymbol{\delta_y}$') 

it works fine, slow (it take 5 sec. make plot), guess bacause python has call external package.

any chances can make faster?

i using python 2.6

try using rc('text', usetex=false).

with matplotlib use internal mathtext instead of os's latex installation render math symbols. see docs.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -