Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## [Matplotlib-users] Ticks Size

 [Matplotlib-users] Ticks Size From: Ted Kord - 2010-10-18 17:46:21 Attachments: Message as HTML ```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 ```

 [Matplotlib-users] Ticks Size From: Ted Kord - 2010-10-18 17:46:21 Attachments: Message as HTML ```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 ```
 Re: [Matplotlib-users] Ticks Size From: Gökhan Sever - 2010-10-18 19:42:34 ```On Mon, Oct 18, 2010 at 12:46 PM, Ted Kord 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]: [] 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]: I[6]: xgrids O[6]: I[7]: xticks[0] O[7]: I[8]: xgrids[1] O[8]: 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 ```
 Re: [Matplotlib-users] Ticks Size From: Eric Firing - 2010-10-18 22:36:35 ```On 10/18/2010 09:42 AM, Gökhan Sever wrote: > On Mon, Oct 18, 2010 at 12:46 PM, Ted Kord 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]: [] > > 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] setp(xticks, markeredgewidth=4) Ticks are markers. Eric ```
 Re: [Matplotlib-users] Ticks Size From: Gökhan Sever - 2010-10-18 23:02:58 ```On Mon, Oct 18, 2010 at 5:36 PM, Eric Firing wrote: > > setp(xticks, markeredgewidth=4) > > Ticks are markers. > > Eric Good catch. Thanks for the fix. -- Gökhan ```
 Re: [Matplotlib-users] Ticks Size From: Ted Kord - 2010-10-19 10:58:55 Attachments: Message as HTML ```Thanks all. That fixed the problem. Ted On 19 October 2010 00:02, Gökhan Sever wrote: > On Mon, Oct 18, 2010 at 5:36 PM, Eric Firing wrote: > > > > setp(xticks, markeredgewidth=4) > > > > Ticks are markers. > > > > Eric > > Good catch. Thanks for the fix. > > -- > 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@... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ```