Skip to content

Discrete x/y scales reserve space for unused limits #1638

Closed
@wch

Description

@wch

For example, from the docs

d <- ggplot(subset(diamonds, carat > 1), aes(cut, clarity)) +
      geom_jitter()
d + scale_x_discrete(limits=c("Fair","Ideal"))

In the 0.9.3.1 docs, it looks like this:

Metadata

Metadata

Assignees

Labels

bugan unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions