I think that "1e4" is a offset text, and not a part of ax2's yticklabels, so any color or font settings for yticklabels will not affect it.
It's seems the offset text only uses matplotlib's default rcParams to draw, so my solution is to change rcParams. Try add these 4 lines before your plot code: import matplotlib as mpl mpl.rcParams['ytick.labelsize']='18' mpl.rcParams['ytick.color']='r' mpl.rcParams['font.sans-serif']='Arial' What you set here will become default settings of matplotlib. For more details of rcParams, check this: http://matplotlib.org/users/customizing.html <http://matplotlib.org/users/customizing.html> I hope this will solve your problems. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Problem-with-ticklabel-tp44376p44384.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users