From: Daniel M. <dan...@go...> - 2011-06-09 14:50:15
|
Hi, try putting an r in front of your string: e.g. label=r'äöü߀' And it might help to tell your editor the used encoding, too, by putting this as the first line: # -*- coding: utf-8 -*- Hope this helps, Daniel 2011/6/9 Klonuo Umom <kl...@gm...>: > Hi, > > How can I use font in my locale or even better UTF-8 for plot > annotations? > > Right now I can see only empty rectangles instead characters when I try > to enter anything other then ASCII > > > Thanks > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |