Skip to content

position dodge fails to dodge all overlapping values #2106

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
hadley opened this issue Apr 13, 2017 · 1 comment
Closed

position dodge fails to dodge all overlapping values #2106

hadley opened this issue Apr 13, 2017 · 1 comment
Labels
bug an unexpected problem or unintended behavior layers 📈

Comments

@hadley
Copy link
Member

hadley commented Apr 13, 2017

library(tidyverse)
#> Loading tidyverse: ggplot2
#> Loading tidyverse: tibble
#> Loading tidyverse: tidyr
#> Loading tidyverse: readr
#> Loading tidyverse: purrr
#> Loading tidyverse: dplyr
#> Conflicts with tidy packages ----------------------------------------------
#> filter(): dplyr, stats
#> lag():    dplyr, stats

df <- tibble(
  x = c("a", "a", "b"),
  n = c(1, 5, 10)
)

ggplot(df, aes(1, n, fill = x)) + 
  geom_col(position = "dodge", alpha = 0.5)

@karawoo karawoo added bug an unexpected problem or unintended behavior layers 📈 labels Jun 13, 2017
@karawoo
Copy link
Member

karawoo commented Aug 1, 2017

Fixed in #2196

@karawoo karawoo closed this as completed Aug 1, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior layers 📈
Projects
None yet
Development

No branches or pull requests

2 participants