A wrapper for ggtext::geom_richtext
Usage
geom_richlabel(
mapping,
label.margin = unit(2, "mm"),
label.padding = unit(0.5, "mm"),
label.color = NA,
fill = "white",
text_size = 12,
...
)
Arguments
- mapping
aes()
- label.margin
grid unit margin
- label.padding
grid unit margin
- label.color
color
- fill
color
- text_size
text size in point units
- ...
additional parameters passed to ggtext::geom_richtext
Value
ggtext::geom_richtext