import matplotlib.pyplot as pyplot fprop=matplotlib.font_manager.FontProperties(size='xx-small')
pyplot.yticks((70,80,90,100),('70%','80%','90%','100%'), color="#8c949d",horizontalalignment='right',fontproperties=fprop ) This will cause all the kwargs to be ignored, so the color, alignment and fonts are all at their default values. pyplot.yticks((70,80,90,100),color="#8c949d",horizontalalignment='right',fontproperties=fprop ) this on, on the other hand, works fine. This is showing that when you provide labels for the ticks (second arg to yticks), the kwargs are ignored. Does anyone have any idea why this is the case? -- View this message in context: http://old.nabble.com/pyplot.yticks-ignoring-font-if-labels-are-supplied%2C-any-ideas--tp27553479p27553479.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users