Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi > Could you post the version number: my version is '0.99.3' It looks like after deleting fontList.cache file everything works. But I got another question. Why I don't get warnings even if I try font like "fadslkhflkjdvhsdlfvfdls". Thanks in advance. Petro -

Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi. Thank for the reply. I use debian stable with matplotlib and python from debian repository, emacs python mode. I had a look on the topic here http://old.nabble.com/how-to-use-different-font-for-serif-td32905458.html I don't have any warning messages. Have no clue there to look further :( -

Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Tony Yu
On Wed, Dec 7, 2011 at 8:27 PM, Piter_ wrote: > Hi all. > I want to use "Times New Roman" font for my pictures. > Searching the list I have found this solution: > __ > > pylab.rc('font', family='serif') > pylab.rc('font', serif='Times New Roman') > pylab.rc('text', usetex='fa

[Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi all. I want to use "Times New Roman" font for my pictures. Searching the list I have found this solution: __ pylab.rc('font', family='serif') pylab.rc('font', serif='Times New Roman') pylab.rc('text', usetex='false') .. yl=pylab.ylabel(r'Difference