Closed Hy4m closed 5 months ago
Hi there, thanks for the report! This indeed looks like a bug, but in the meanwhile I'd just recommend to add theme(legend.margin = margin())
after theme_void()
.
We probably should let theme_void()
have empty padding, or let guide_custom()
deal with NULL
padding.
Greetings
I am trying to add an inside guide with
theme_void()
, and I'm not sure why throwing a warning message (In rep(padding, length.out = 4) : 'x' is NULL so the result will be NULL
). But when we use other theme, it's OK.Here is a simple example