Skip to content

Commit 5515e00

Browse files
committed
re-apply fix from PecanProject#3560 undone in PecanProject#3526
1 parent e873b4f commit 5515e00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/uncertainty/R/run.sensitivity.analysis.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ run.sensitivity.analysis <- function(settings,
218218
grDevices::pdf(fname, height = 12, width = 9)
219219
## arrange plots http://stackoverflow.com/q/10706753/199217
220220
ncol <- floor(sqrt(length(sensitivity.plots)))
221-
print(do.call(gridExtra::grid.arrange, c(sensitivity.plots, ncol = ncol)))
222-
print(sensitivity.plots) # old method. depreciated.
221+
do.call(gridExtra::grid.arrange, c(sensitivity.plots, ncol = ncol))
223222
grDevices::dev.off()
224223

225224
### Generate VD diagnostic plots

0 commit comments

Comments
 (0)