Closed mlell closed 8 months ago
Every element_text()
has its own margin, so you could use theme(axis.text.x.bottom = element_text(margin = margin(t = 2.2, b = 10)))
to space the nesting line further from the rotated text.
Ah, yes I did not think of modifying the text instead of the line. Thanks!
Thank you for this package which solves an issue I have been suffering from for years! It is almost perfect, despite one thing:
The text is very close to the nesting line. How can I add some space there?
As a workaround, I could just add some space before the city names, however this only works if the text is vertical. Is there a more canonical way, like a
theme()
setting? I only foundggh4x.axis.nesttext.x/y
which as anelement_text()
object does not have a margin setting or similar.