Browse Source

paint_pomological now clears plot background

pull/1/head
Garrick Aden-Buie 8 years ago
parent
commit
711df6158b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      R/paint_pomological.R

+ 1
- 0
R/paint_pomological.R View File

@@ -34,6 +34,7 @@ paint_pomological <- function(
}
# Paint figure
pomo_gg <- pomo_gg + ggplot2::theme(plot.background = ggplot2::element_rect(fill = 'transparent', colour = NA))
gg_fig <- magick::image_graph(width, height, bg = "transparent", pointsize = pointsize, ...)
print(pomo_gg)
dev.off()

Loading…
Cancel
Save