| 
     
      
      
      From: Martella, C. <cla...@vu...> - 2012-01-25 12:30:14
      
     
   | 
hello list,
I'm having quite a big number of subplots all together inside of the same figure, which pushes me to reduce the font size quite a lot to avoid overlap.
I've been able to set quite everything, except of the ytickslabels:
sp = fig.add_subplot(611, xlim=(10, 100))
sp.set_title(my_title, fontsize='small')
sp.set_xticklabels(('10', '15', '20', '30', '45', '60', '75', '90'), fontsize='small')
sp.set_xticks(X)
sp.set_ylabel('Y', fontsize='small')
#sp.set_yticklabels(sp.get_yticklabels(), fontsize='small')
sp.plot(X, Y, "b--")
unfortunately I can't set yticklabes without passing the labels as well, which i'd like to avoid as it really much depends on the data and the subplot. I'm happy with matplotlib calculating the yticklabels the way it does, i just would like to have control over their fonts size.
Any idea?
--
    Claudio Martella
    cla...@vu...
 |