From: Eric F. <ef...@ha...> - 2007-08-21 08:30:43
|
Torsten Hahn wrote: > Hello, > > I am looking for an way to set the width of the tick lines in a plot. > I have not found any rc parameter for this. Good point; it does seem to be a gap in the configurability. > > Doing: > > plot(...) > c=gca() > tl=c.get_ticklines() > > gives a list of tickline objects. Every tickline object has a method > tl[0].set_linewidth(). Calling this method with different float > parameters seems to have no effect. Use tl[0].set_markeredgewidth(); ticks are implemented as markers now to take advantage of backend optimization of marker rendering. No, this is not obvious! Eric |