Benjamin Root-2 wrote:
> 
> On Wed, Jun 13, 2012 at 10:46 AM, Peter Würtz
> <pwue...@googlemail.com>wrote:
> 
>> 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)
> 
> This is my output using v1.1.1-rc2
> 
> X-Axis
>  tick @ (1.0, 0.0)
>  tick @ (0.0, 1.0)
> 
>  Strange indeed.
> 
> 

So, it is a bug then? Doesn't look like a feature to me :)
-- 
View this message in context: 
http://old.nabble.com/Duplicate-Ticks-tp34005378p34015581.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to