ggfittext icon indicating copy to clipboard operation
ggfittext copied to clipboard

rich=TRUE ignores "place" argument

Open fbearoff opened this issue 1 year ago • 1 comments

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 )

fbearoff avatar Nov 11 '23 20:11 fbearoff

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.

wilkox avatar Nov 14 '23 02:11 wilkox