# How to bold plot labels in Pumas?

**URL:** <https://discourse.pumas.ai/t/how-to-bold-plot-labels-in-pumas/781>\
**Category:** Basic Usage\
**Created:** [October 22, 2022, 3:03pm UTC](https://discourse.pumas.ai/t/how-to-bold-plot-labels-in-pumas/781 "2022-10-22T15:03:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahulub3r](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/rahulub3r/32/182_2.png) [@Rahulub3r](https://discourse.pumas.ai/u/Rahulub3r)\
**Post date:** [October 22, 2022, 3:03pm UTC](https://discourse.pumas.ai/t/how-to-bold-plot-labels-in-pumas/781/1 "2022-10-22T15:03:52Z")

</div>

Hi - I was trying to use this code from the documentation ([Plotting · Pumas](https://docs.pumas.ai/stable/analysis/plots/#observations_vs_time)):

```auto
figures =
    observations_vs_time(
        pkpain_nca;
        axis = (
            xlabel = "Time (hours)",
            ylabel = "CTMX Concentration (μg/mL)",
        ),
        paginate = true,
        facet = (combinelabels = true,),
    )

figures[1]

```

I would like to bold the `xlabel` and `ylabel` in this plot. Is there a `fontface = "bold"` equivalent option to do the same? Thanks!

---

<div class="post-metadata">

**Author:** ![julius](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@julius](https://discourse.pumas.ai/u/julius)\
**Post date:** [October 22, 2022, 4:41pm UTC](https://discourse.pumas.ai/t/how-to-bold-plot-labels-in-pumas/781/2 "2022-10-22T16:41:58Z")

</div>

Currently, Makie, the underlying plotting library, uses a “font-only” system. So there’s no “bold” flag or anything like that, because many font families have multiple bold fonts so it’s not clear which to use, etc. The bold font in Makie’s default theme is called `TeX Gyre Heros Bold Makie` and you can set `xlabelfont = "TeX Gyre Heros Bold Makie"` and so on.

---

<div class="post-metadata">

**Author:** ![Rahulub3r](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/rahulub3r/32/182_2.png) [@Rahulub3r](https://discourse.pumas.ai/u/Rahulub3r)\
**Post date:** [October 22, 2022, 5:31pm UTC](https://discourse.pumas.ai/t/how-to-bold-plot-labels-in-pumas/781/3 "2022-10-22T17:31:25Z")

</div>

Thanks for the response Julius.  
I am an avid Pumas user and trying to teach Pumas to other peers and students. Can you (or anyone else) please help me on how I can get a new user to arrive to this answer by themselves?

---

<div class="post-metadata">

**Author:** ![julius](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@julius](https://discourse.pumas.ai/u/julius)\
**Post date:** [October 22, 2022, 6:36pm UTC](https://discourse.pumas.ai/t/how-to-bold-plot-labels-in-pumas/781/4 "2022-10-22T18:36:01Z")

</div>

It’s not specifically mentioned anywhere in the docs I think, that’s a good point. There are just many examples in the wild where people have been changing fonts, but I can see how it would be confusing not to find the familiar bold/italic option for many users. I’m planning to overhaul the way to specify and change fonts in Makie a bit anyway, and I’ll keep this in mind when I write the new documentation.

We will also take note to mention this in Pumas docs separately.

---

<div class="post-metadata">

**Author:** ![Rahulub3r](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/rahulub3r/32/182_2.png) [@Rahulub3r](https://discourse.pumas.ai/u/Rahulub3r)\
**Post date:** [October 22, 2022, 10:20pm UTC](https://discourse.pumas.ai/t/how-to-bold-plot-labels-in-pumas/781/5 "2022-10-22T22:20:25Z")

</div>

That sounds great. Thank you very much!
