Skip to content

geom_tile legend does not show boundary colour #1484

Closed
@kobiperl

Description

@kobiperl
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions