MattCowgill / ggannotate

Interactively annotate ggplots
Other
309 stars 20 forks source link

facets don't work where there are multiple identical columns in the data with different names #37

Open MattCowgill opened 3 years ago

MattCowgill commented 3 years ago

as in

mtcars %>%
  mutate(cyl2 = cyl) %>%
  ggplot(aes(x = wt, y = mpg)) +
  geom_point() +
  coord_flip() +
  facet_wrap(~cyl2)