Skip to content

Commit 20766cc

Browse files
committed
get margin the proper way
1 parent 45f5385 commit 20766cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inTextSummaryTable/R/subjectProfileSummaryPlot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ subjectProfileSummaryPlot <- function(data,
659659
ggTable <- ggTable + fctScaleX
660660

661661
# remove legend and title x-axis for base plot (will be included in table plot)
662-
plotMargin <- themeFct()$plot.margin
662+
plotMargin <- calc_element("plot.margin", themeFct())
663663
plotMargin[3] <- tablePlotMargin # set bottom margin
664664
gg <- gg + theme(
665665
legend.position = "none",

0 commit comments

Comments
 (0)