forestploter
forestploter copied to clipboard
Title font size does not respect the base_size
trafficstars
tm <- forest_theme(base_size = 8,
# Title
title_just = "center",
title_gp = gpar(fontface = "bold", cex = 1)
)
I was expecting the font size for the title to be 8 pt since cex = 1 and base_size = 8, but the title font size is larger (12 pt).
The font size for the title has nothing to do with the base_size. You may want to define the font size for the title in the title_gp with fontsize parameters. I will fix this and thank you for reporting.
Can you try to install it from Github? I think this should have been solved now. Please let me know if it is working for you.
Thanks.