# Manually set the ticklabels of \`CoordinateHelper\`

**URL:** <https://community.openastronomy.org/t/manually-set-the-ticklabels-of-coordinatehelper/1151>\
**Category:** Astropy\
**Tags:** astropy, question\
**Created:** [November 21, 2024, 5:51pm UTC](https://community.openastronomy.org/t/manually-set-the-ticklabels-of-coordinatehelper/1151 "2024-11-21T17:51:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yjzhu-solar](https://dub1.discourse-cdn.com/flex005/user_avatar/community.openastronomy.org/yjzhu-solar/32/594_2.png) [@yjzhu-solar](https://community.openastronomy.org/u/yjzhu-solar)\
**Post date:** [November 21, 2024, 5:51pm UTC](https://community.openastronomy.org/t/manually-set-the-ticklabels-of-coordinatehelper/1151/1 "2024-11-21T17:51:40Z")

</div>

Are there any ways to manually set the tick labels of `Coordinate Helper`?

I tried  
`ax.coords[2].set_ticklabel(text=['1','2','3'])`  
or directly accessing  
`ax.coords[2].ticklabels.text['t'] = ['1','2','3']`

Both failed.

---

<div class="post-metadata">

**Author:** ![nabobalis](https://dub1.discourse-cdn.com/flex005/user_avatar/community.openastronomy.org/nabobalis/32/14_2.png) [@nabobalis](https://community.openastronomy.org/u/nabobalis)\
**Post date:** [November 27, 2024, 1:36am UTC](https://community.openastronomy.org/t/manually-set-the-ticklabels-of-coordinatehelper/1151/2 "2024-11-27T01:36:54Z")

</div>

Hello @yjzhu-solar,

Sorry for the late reply!

There is no good answer for this, the best bet is to use the new astropy 7.0 release which contains this PR: [Allow major formatter to be a callable in WCSAxes by astrofrog · Pull Request #17020 · astropy/astropy · GitHub](https://github.com/astropy/astropy/pull/17020) but its still pretty unintuitive and I am not sure if there is any documentation on how best to use this.
