Ticks width

Hi,

How to set the ticks width through rc?
Something like: rc('xtick.major', size=6), but for the width? I cannot
find the proper key.

Thanks.
R.

Hi,

How to set the ticks width through rc?
Something like: rc('xtick.major', size=6), but for the width? I cannot
find the proper key.

There isn't one, and probably should be. You might want to file an issue on github.

As a workaround, if you are not using any other markers in the plot, you can use the lines.markeredgewidth key; ticks are actually markers.

With mpl >= 1.0 you can also use the tick_params function or Axes method once you have created your Axes instance, e.g.:

plot([1,2,3])
tick_params(width=2, length=4)

Eric

ยทยทยท

On 07/14/2011 08:08 PM, ruggit wrote:

Thanks.
R.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options