Skip to content
This repository was archived by the owner on Apr 10, 2022. It is now read-only.

Commit c238f89

Browse files
committed
Update hisub.R
1 parent d2197b9 commit c238f89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hisub.R

+8
Original file line numberDiff line numberDiff line change
@@ -717,10 +717,18 @@ if (a$return$value$outtype %in% c("plot", "basic", "grid")) {
717717

718718
# 增加对图片的配置
719719
if (a$return$value$outtype %in% c("ggplot", "plot")) {
720+
if (any(c("font", "theme", "palette") %in% names(a$return$value$outsetting))) {
721+
plot_r <- c(
722+
plot_r,
723+
"\np <- set_complex_general_theme(set_palette_theme(p, conf))"
724+
)
725+
}
726+
720727
plot_r <- c(
721728
plot_r,
722729
"\nexport_single(p)"
723730
)
731+
724732
} else if (a$return$value$outtype == "directory") {
725733
plot_r <- c(
726734
plot_r,

0 commit comments

Comments
 (0)