|
From: Gökhan S. <gok...@gm...> - 2013-02-26 02:30:36
|
Hello,
For some reason, I can't get the degree sign showing up in my ps output:
Here is the simple test code:
fp = plt.figure(figsize=(8.5, 11))
fp.text(0.5, 0.5, u"Temperature, ⁰C", color='black', fontsize=16)
plt.savefig('test.ps', papertype='letter')
plt.savefig('test.pdf', papertype='letter')
PS output shows Temperature, ?C, however PDF renders degree sign correctly.
I can't seem to select the text in PS output, but the text is selectable in
PDF.
This is probably a font issue, where PDF uses DejaVu, on the other hand PS
uses a Times type font.
So, how can I adjust matplotlib to save in PS file?
Thanks.
--
Gökhan
|