We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
plot.margin
1 parent 4193a50 commit 9552a67Copy full SHA for 9552a67
R/plot-build.R
@@ -285,7 +285,7 @@ ggplot_gtable.ggplot_built <- function(data) {
285
plot_table <- table_add_tag(plot_table, plot$labels$tag, theme)
286
287
# Margins
288
- plot_margin <- calc_element("plot.margin", theme)
+ plot_margin <- calc_element("plot.margin", theme) %||% margin()
289
plot_table <- gtable_add_padding(plot_table, plot_margin)
290
291
if (is.theme_element(theme$plot.background)) {
0 commit comments