New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geom_curve does not use lineend #1852

Closed
Ax3man opened this Issue Oct 14, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@Ax3man
Contributor

Ax3man commented Oct 14, 2016

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)

rplot03

@hadley hadley added the feature label Oct 14, 2016

@hadley hadley added this to the v2.2.0 milestone Oct 14, 2016

@hadley hadley self-assigned this Oct 14, 2016

@hadley hadley added bug and removed feature labels Oct 14, 2016

@hadley hadley closed this in 1709196 Oct 14, 2016

@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.