mdthemes
mdthemes copied to clipboard
element_blank() triggers error
Normally when using ggplot, we can tell omit an axis label using labs(x = element_blank())
However, when we switch from a standard theme to its md_theme equivalent, we get the following error:
mapply(make_inner_box, text, halign, valign, use_markdown, gp_list, :
zero-length inputs cannot be mixed with those of non-zero length
Please either resolve this error, or if it's going to take a long time before it's resolved, create a custom error message that identifies the problem and suggests a workaround. Note that setting the axis label to " " is not ideal since ggplot will still reserve space for the axis label.
Thanks!
I have a similar issue. The following code won´t work:
theme(legend.title = element_blank()),
The legend title still appears.