-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Hi,
I was trying to figure out, why I can't get more compact labeling in #333, and noticed that there seem to be an unnecessary offset in place_labels
function (https://github.com/thomasp85/ggforce/blob/main/R/mark_label.R#L70):
polygons[[length(polygons) + 1]] <- polyoffset(rect, 10)
As far as I understand, it creates and additional space around the label. However, rects
already accounts for label.margin
, so I don't understand what's the point of an additional offset. Changing the offset from 10 to 0 greatly improved the label positioning for me.
--
Alexey
Metadata
Metadata
Assignees
Labels
No labels