ggfittext
ggfittext copied to clipboard
rich=TRUE ignores "place" argument
Using the rich=TRUE
option, the place
argument is ignored. hjust
and vjust
options also stop working.
Reproducible example below
ggplot(mtcars, aes( x = mpg, y = rownames(mtcars), label = rownames(mtcars), fill = cyl )) + geom_col() + geom_bar_text( place = "left", rich = FALSE )
ggplot(mtcars, aes( x = mpg, y = rownames(mtcars), label = rownames(mtcars), fill = cyl )) + geom_col() + geom_bar_text( place = "left", rich = TRUE )
Thanks for the reprex. Rich text is still very much experimental at this stage and I will probably end up rewriting the whole thing. I'll keep this open as a good failing example.