Skip to content
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

when linetype="solid" is specified for a geom_path that is colored an error occurs #1534

Closed
smouksassi opened this issue Feb 4, 2016 · 0 comments

Comments

@smouksassi
Copy link

@smouksassi smouksassi commented Feb 4, 2016

df2 <- data.frame(x = c(1:10), y = c(1:10), z = 'a')
df2[5:7, 1:2] <- NA
ggplot(df, aes(x, y, color = y)) + geom_path(linetype="solid")         # plot issue an error

Error: geom_path: If you are using dotted or dashed lines, colour, size and linetype must be constant over the line

ggplot(df, aes(x, y, color = y)) + geom_path(linetype=1)         # plot works
@hadley hadley closed this in 6f04b85 Feb 4, 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.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant