ggupset icon indicating copy to clipboard operation
ggupset copied to clipboard

support for facet_grid

Open roni-fultheim opened this issue 2 years ago • 1 comments

Hi,

When I use facet_grid() on the created plot the y-axis labels of the upset groups is seen for each facet. If possible, can this be united to show the groups only once to the left?

tidy_movies %>%
  mutate(Time = cut_interval(year, n = 3)) %>%
  distinct(title, year, length, Time, .keep_all=TRUE) %>%
  ggplot(aes(x=Genres)) +
  geom_bar() +
  scale_x_upset(order_by = "degree", n_sets = 5) + 
  facet_grid(.~Time)

Thank you

PS I love this package! Simple and easily combined with existing code.

roni-fultheim avatar Feb 02 '22 11:02 roni-fultheim

@const-ae Perhaps you've had a chance to look this over? My current solution is to only use x~. faceting, but I would appreciate also the side-by-side option... thank you

roni-fultheim avatar Feb 07 '22 08:02 roni-fultheim