-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
To add italics, or other fancy symbols, to the text on a plot, I use expression
:
plot(1:10, main = expression(italic("Italic Title")))
This generates a plot with the title in italics. If I use such a plot in cowplot, it generates warnings:
italic_plot <- function(){
plot(1:10, main = expression(italic("Italic Title")))
}
plot_grid(italic_plot, italic_plot)
> plot_grid(italic_plot, italic_plot)
Warning in is.na(x) :
is.na() applied to non-(list or vector) of type 'expression'
Warning in is.na(x) :
is.na() applied to non-(list or vector) of type 'expression'
Depending on the complexity of the panels I'm preparing, this can generate a bit of noise in the terminal. Is there someway to avoid this?
Metadata
Metadata
Assignees
Labels
No labels