You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hey, I have used Upset Plot before and it produced exactly like in the documentation. But, I tried to do it again and it gave me this error. I tried updating my package (both ggplot and ComplexUpset) and it still does the same thing. Can you help to debug this? I don't know what happened. This is the error that I got:
< Error in plot_theme():
! The legend.text.align theme element is not defined in the element hierarchy.
Backtrace:
Hi
I am also having this error.
Here is the code I used to reproduce error
ComplexUpset::upset(
movies, c("Action", "Comedy", "Drama"),
width_ratio=0.2,
group_by='sets',
queries=list(
upset_query(group='Drama', color='maroon'),
upset_query(group='Comedy', color='blue'),
upset_query(group='Action', color='orange'),
upset_query(set='Drama', fill='maroon'),
upset_query(set='Comedy', fill='blue'),
upset_query(set='Action', fill='orange')
)
)
Is there any way to resolve this error
This behavior is explained in another issue: #195
To fix, you need to uninstall the package using remove.packages("ComplexUpset") and reinstall with install.packages("ComplexUpset", type = "source"). That fixed it for me!
Describe the bug
Hey, I have used Upset Plot before and it produced exactly like in the documentation. But, I tried to do it again and it gave me this error. I tried updating my package (both ggplot and ComplexUpset) and it still does the same thing. Can you help to debug this? I don't know what happened. This is the error that I got:
< Error in
plot_theme()
:! The
legend.text.align
theme element is not defined in the element hierarchy.Backtrace:
<fn>
(x)Code to reproduce
Expected behavior
It should produce this plot similar like in the documentation.
Screenshots
Context (required)
ComplexUpset version: 1.3.3
R version details
R session information
The text was updated successfully, but these errors were encountered: