[Matplotlib-users] get_tick{label}s: are tick labels drawn?

2010-05-08 Thread Nico Schlömer
Hi, say, is there a way to query an axis object whether or not the tick labels are drawn? I looked at -- one the x-axis -- get_xticks( and get_xticklabels() which in two different situations would spit out a list of doubles (the tick positions) and a list of text entries of the form Text(0,0,'').

[Matplotlib-users] Unicode question

2010-05-08 Thread Gökhan Sever
Hello, I have tendency to use unicode strings for my simple units e.g. plt.xlabel(u"Concentration (# cm⁻³)") Wondering if it is possible to subscript and/or superscript any character in unicode strings? In other words could the following be done via unicode only? plt.title(r"N$_{ccn} = C s^k$")