# Change font (color/size) of Compass rose text

**URL:** <https://forum.generic-mapping-tools.org/t/change-font-color-size-of-compass-rose-text/4683>\
**Category:** PyGMT Q&A\
**Created:** [February 24, 2024, 3:10pm UTC](https://forum.generic-mapping-tools.org/t/change-font-color-size-of-compass-rose-text/4683 "2024-02-24T15:10:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![duffy6](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/duffy6/32/3993_2.png) [@duffy6](https://forum.generic-mapping-tools.org/u/duffy6)\
**Post date:** [February 24, 2024, 3:10pm UTC](https://forum.generic-mapping-tools.org/t/change-font-color-size-of-compass-rose-text/4683/1 "2024-02-24T15:10:56Z")

</div>

Hi!

Can I somehow change the font (color/size) of the compass rose text?

```auto
import pygmt
fig = pygmt.Figure()
fig.basemap(region="g", projection="W15c", frame=True)
fig.basemap(rose="jRB+w2c+f1+lW,O,S,N")
fig.savefig("_meine_einfache_Karte.pdf")

```

Regards

---

<div class="post-metadata">

**Author:** ![yvonnefroehlich](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/yvonnefroehlich/32/5064_2.png) [@yvonnefroehlich](https://forum.generic-mapping-tools.org/u/yvonnefroehlich)\
**Post date:** [February 28, 2024, 10:18pm UTC](https://forum.generic-mapping-tools.org/t/change-font-color-size-of-compass-rose-text/4683/2 "2024-02-28T22:18:09Z")

</div>

Hello @duffy6,

unfortunately, your code example does not work for me. Thus, I wrote one on my own. I am able to change the font style and color of the rose labels by adjusting the GMT defaults using `pygmt.config`. However, the font size passed to the `FONT` parameter does not affect the font size of the rose labels. Currently, I do not know why this is.

```python
import pygmt as gmt

size = 10

fig = gmt.Figure()
fig.basemap(region=[-size, size, -size, size], projection=f"M{size}c", frame=True)

with gmt.config(FONT="20p,Times-Italic,red"): 
    fig.basemap(rose="jMC+w2c+f1+lW,O,S,N")

fig.show()
# fig.savefig("rose_change_font.png")

```

_Output figure_

 ![rose_change_font](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/b/b01f264db4e495f0bef4d29da7d14f83f21a57ee.png)
