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
Changing the settings of the axis.text.x component of theming in ggplot2/cowplot can result in a strong breakage of the package (see MWE attached).
If I understand correctly, I think the problem is that cowplot rely on theme_nothing (hence theme_void) for the grid layout, but somehow the values provided by axis.text.x do not get overwritten (indeed changing axis.text.x for axis.text doesn't seem to result in breakage in the MWE attached).
Ultimately, I think the issue comes from the fact that theme_void doesn't seem to be full-fledged, compared to other themes (including theme_cowplot, which relies on theme_grey which is full-fledged).
I see two possibles fixes:
Stop relying on theme_void and make theme_nothing rely on a full-fledged theme like theme_grey
Report "upstream" to ggplot2, asking Hadley Wickham to make theme_void full-fledged
Changing the settings of the axis.text.x component of theming in ggplot2/cowplot can result in a strong breakage of the package (see MWE attached).
If I understand correctly, I think the problem is that cowplot rely on theme_nothing (hence theme_void) for the grid layout, but somehow the values provided by axis.text.x do not get overwritten (indeed changing axis.text.x for axis.text doesn't seem to result in breakage in the MWE attached).
Ultimately, I think the issue comes from the fact that theme_void doesn't seem to be full-fledged, compared to other themes (including theme_cowplot, which relies on theme_grey which is full-fledged).
I see two possibles fixes:
MWE.txt
The text was updated successfully, but these errors were encountered: