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 4c84e8a commit ebecea5Copy full SHA for ebecea5
R/plot-build.R
@@ -286,7 +286,7 @@ ggplot_gtable.ggplot_built <- function(data) {
286
plot_table <- table_add_tag(plot_table, plot$labels$tag, theme)
287
288
# Margins
289
- plot_margin <- calc_element("plot.margin", theme)
+ plot_margin <- calc_element("plot.margin", theme) %||% margin()
290
plot_table <- gtable_add_padding(plot_table, plot_margin)
291
292
if (is.theme_element(theme$plot.background)) {
0 commit comments