|
From: John H. <jdh...@ac...> - 2005-11-09 13:13:03
|
>>>>> "Cory" == Cory Davis <cd...@st...> writes:
Cory> Thanks Robert,
>> The relevant changes are in texmanager.py (and I don't recall
>> if they are in 0.84). def get_tex_command(self, tex, fname):
>> fontcmd = {'sans-serif' : r'{\sffamily %s}', 'monospace' :
>> r'{\ttfamily %s}'}.get( rcParams['font.family'], r'{\rmfamily
>> %s}') tex = fontcmd % tex Add that snippet to the method and
>> you should be good to go.
>>
Cory> This is not in 0.84, so I guess I will wait for the next
Cory> release. Cheers, Cory.
You should just be able to drop the CVS texmanager.py into your
site-packages/matplotlib dir and be off to the races
http://cvs.sourceforge.net/viewcvs.py/matplotlib/matplotlib/lib/matplotlib/texmanager.py?rev=1.31&view=markup
JDH
|