Skip to content

geom_tile legend does not show boundary colour #1484

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

Closed
kobiperl opened this issue Jan 13, 2016 · 0 comments
Closed

geom_tile legend does not show boundary colour #1484

kobiperl opened this issue Jan 13, 2016 · 0 comments

Comments

@kobiperl
Copy link

library(ggplot2)
df <- data.frame(x = c(1,2,1,2), y = c(1,1,2,2), type = c('foo','blah','foo','blah'))
ggplot(df, aes(x=x, y=y)) + geom_tile(aes(color = type))

Produces the following image:
Rplot.pdf

Where the guide does not indicate the color.

@hadley hadley changed the title ggplot2 version 2.0.0 broke scale_colour_discrete guide for geom_tile geom_tile legend does not show boundary colour Jan 22, 2016
@hadley hadley closed this as completed in 8c87810 Jan 25, 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
Development

No branches or pull requests

1 participant