-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
According to the documentation, lineend is a valid parameter for both geom_segment and geom_curve, but geom_curve does not change depending on lineend. This is true for both the CRAN version and the current dev version. Reprex:
ggplot(mapping = aes(x = x1, xend = x2, y = y, yend = y)) +
geom_curve(data = data.frame(x1 = 0, x2 = 1, y = 0), size = 4, curvature = -1,
lineend = 'round') +
geom_curve(data = data.frame(x1 = 1.5, x2 = 2.5, y = 0), size = 4, curvature = -1,
lineend = 'butt') +
geom_curve(data = data.frame(x1 = 3, x2 = 4, y = 0), size = 4, curvature = -1,
lineend = 'square') +
ylim(0, 1)
jaapwalhout
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
