On Mon, Oct 18, 2010 at 12:46 PM, Ted Kord <teddy.k...@gmail.com> wrote: > Hi > > How do I make the tick size bigger as in thicker/bolder? > > matplotlib.rc('ytick.major', size=5) makes it longer but 'not' thicker. > > Ted
I[1]: plt.plot(range(100)) O[1]: [<matplotlib.lines.Line2D object at 0xb84f8ec>] I[2]: xticks = getp(gca(), 'xticklines') I[3]: xgrids = getp(gca(), 'xgridlines') I[4]: setp(xgrids, linewidth=2) O[4]: [None, None, None, None, None, None] I[5]: setp(xticks, linewidth=5) O[55]: [None, None, None, None, None, None, None, None, None, None, None, None] This should be the solution. However xgrids are finely set to a bigger linewidth whereas xticks doesn't change. I[6]: xticks O[6]: <a list of 12 Text xtickline objects> I[6]: xgrids O[6]: <a list of 6 Line2D xgridline objects> I[7]: xticks[0] O[7]: <matplotlib.lines.Line2D object at 0xb8b560c> I[8]: xgrids[1] O[8]: <matplotlib.lines.Line2D object at 0xb8626ec> Interestingly xticks is returned as a list of Text objects, while each element of this list looks like a Line2D (which really supposed to be.) Can you try these on your side? -- Gökhan ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users