Skip to content

Commit

Permalink
Update utils_plot_DOW_byImpactTypes.R
Browse files Browse the repository at this point in the history
Fixed ggarrange statement
  • Loading branch information
knoiva-indecon committed Feb 21, 2024
1 parent 258a131 commit 8193af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FrEDI/testing/utils_plot_DOW_byImpactTypes.R
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ plot_DOW_byImpactTypes <- function(
# plotList_i <- list(spacer1=spacer0, plot=plotGrid_i, legend=grobLgd0)
plotList_i <- list(spacer1=spacer0, plot=plotGrid_i, spacer2=spacer0, legend=grobLgd0)
# plotGrid_i <- ggarrange(plotlist=plotList_i, nrow=2, ncol=1, common.legend=T, legend="none", heights=c(0.1, n_impTypes, 0.25))
plotGrid_i <- ggarrange(plotlist=plotList_i, nrow=3, ncol=1, legend="none", heights=c(0.01, n_impTypes, 0.01, 0.2, 0.01))
plotGrid_i <- ggarrange(plotlist=plotList_i, nrow=3, ncol=1, legend="none", heights=c(0.01, n_impTypes, 0.01, 0.2))
title0_i <- sector0
grobTit_i <- text_grob(title0_i, color="black", size=14, face="bold", hjust=0.5)
plotYTit_i <- text_grob(yTitle, color = "black", rot = 90)
Expand Down

0 comments on commit 8193af8

Please sign in to comment.