Can a tick label be on two separate lines? For example:

LabelsList = ['Howard', 'Vince', 'Bob', 'Naboo the Enigma']

xlabels = ax.set_xticklabels( LabelsList, rotation=35,
horizontalalignment='right', fontstyle='italic', fontsize='10')

How can I put "Naboo the Enigma" on two lines? I've tried to enter newlines
and carriage returns in the list element (e.g. 'Naboo\n the Enigma') without
any luck.
-- 
View this message in context: 
http://old.nabble.com/newline-characters-in-tick-labels-tp32852034p32852034.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to