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.
1 parent 1fc1d5e commit ff9e623Copy full SHA for ff9e623
R/plot-build.r
@@ -291,6 +291,8 @@ ggplot_gtable.ggplot_built <- function(data) {
291
b = nrow(plot_table), l = 1,
292
r = ncol(plot_table), clip = "off")
293
} else {
294
+ # Widths and heights are reassembled below instead of assigning into them
295
+ # in order to avoid bug in grid 3.2 and below.
296
if (tag_pos == "topleft") {
297
plot_table$widths <- unit.c(tag_width, plot_table$widths[-1])
298
plot_table$heights <- unit.c(tag_height, plot_table$heights[-1])
0 commit comments