2014-08-25 0:03 GMT+02:00 Johan Ekh <ekh.jo...@gmail.com>: > Hi all > > I try to use yticks as > > plt.yticks(y_pos, projDescr) > > where projDescr is a list of strings that contains some swedish letters, > i.e. åäö, but they are not printed correctly. I have googled but can not > fins a solution. Can someone point me in the right direction? > > Best regards, > Johan > Hi, I am not sure, whether this is the same problem I encountered with Czech diacritics in matplotlib some time ago, but it definitively looks similar to me. You can check the respective thread and the mentioned workaround there: http://matplotlib.1069221.n5.nabble.com/font-setting-in-matplotlib-1-3-1-td42662.html
Basically, it seems to be a problem with font selection with regard to Bitstream Vera; a workaround consist in manipulating rcParams and removing this item from the list of usable fonts. hth, vbr ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users