David 7 лет назад
Родитель
Сommit
0d9da0dab2
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      R/plot_helpers.R

+ 2
- 2
R/plot_helpers.R Просмотреть файл

@@ -48,10 +48,10 @@ base_plot <- function(d, title = "", ...) {
geom_tile(width = 0.9, height = 0.9) +
coord_equal() +
geom_text(data = d %>% filter(!is.na(val)), aes(label = val), color = "white",
family = text_family, size = 12, fontface = "bold") +
family = text_family, size = 10) +
scale_fill_identity() +
scale_alpha_identity() +
labs(title = title) +
theme_void() +
theme(plot.title = element_text(family = title_family, hjust = 0.5, size = 24))
theme(plot.title = element_text(family = title_family, hjust = 0.5, size = 20))
}

Загрузка…
Отмена
Сохранить