setting tick mark size and color?

Hello,
I am trying to change the size and color of tick marks but I’m having trouble.

Here’s
how I do it:

#tickmark attributes

setAttr(axes.xaxis.get_major_ticks(),
size=2, color=‘g’, visible=True)

I
get an error indicating that size and color are not keywords. How can I fix
this? Thanks!

Jeff

···

Jeffrey Thomas Peery

SeaMetrics, Inc.

Mechanical Engineer

JeffPeery@…674…

253.872.0285 (fax)

253.872.0284 (phone)