From: Peter W. <pw...@go...> - 2012-06-13 14:46:22
|
I'm sorry, there seems to be a mess. Nabble told me that this mail to the list was not accepted for unknown reasons so I deleted it. Here is the example I was talking about in the previous mail: import matplotlib import pylab as p p.plot([1,2,3]) p.xticks([1],["tick"]) ax = p.gca() fig = p.gcf() p.draw() def print_texts(artist): for t in artist.findobj(matplotlib.text.Text): if t.get_visible() and t.get_text(): print " %s @ %s" % (t.get_text(), t.get_position()) print "X-Axis" print_texts(ax.xaxis) print "Y-Axis" print_texts(ax.yaxis) -- View this message in context: http://old.nabble.com/Duplicate-Ticks-tp34005378p34005490.html Sent from the matplotlib - users mailing list archive at Nabble.com. |