Skip to content

Using scale_fill_continuous(breaks=NULL) results in error #579

Closed
@wch

Description

@wch

Some of the visual tests in visual_test/scale-breaks.r now throw errors. This was introduced by e6594a1, where the colorbar guide started being used as the default.

Here are the two bad tests:

dat <- data.frame(x=1:3, y=1:3)

ggplot(dat, aes(x=1, y=y, fill=x)) + geom_point(shape=21) + scale_fill_continuous(breaks=NULL)

ggplot(dat, aes(x=1, y=y, colour=x)) + geom_point() + scale_colour_continuous(breaks=NULL)

We should also have some unit tests for this...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions