ggupset
ggupset copied to clipboard
support for facet_grid
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.
@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