Re: [Matplotlib-users] Unicode greek letters

2011-11-22 Thread Michael Droettboom
You may need to set your default font to something with those characters. For example: import matplotlib matplotlib.rcParams['font.family'] = 'DejaVu Sans' Mike On 11/22/2011 05:41 AM, Yannick Copin wrote: > Hi, > > I'm confused regarding the use of Unicode characters in matplotlib. I

[Matplotlib-users] Unicode greek letters

2011-11-22 Thread Yannick Copin
Hi, I'm confused regarding the use of Unicode characters in matplotlib. I tried the following: #!/usr/bin/env python # -*- coding: utf-8 -*- import matplotlib.pyplot as P ax = P.gca() ax.set_title(u"OK: ±×÷, Not OK: αβγδ") P.show() The 1st "OK" characters are displayed correctly, while th