@@ -31,6 +31,8 @@ print_tidymodels <- function(tidymodels_object) {
31
31
}
32
32
}
33
33
}
34
+
35
+ theme_update(axis.title = element_text(size = 14)) # modify axis label size in plots
34
36
```
35
37
36
38
## Overview
@@ -236,7 +238,8 @@ perim_concav <- cancer |>
236
238
y = "Concavity (standardized)",
237
239
color = "Diagnosis") +
238
240
scale_color_manual(labels = c("Malignant", "Benign"),
239
- values = c("orange2", "steelblue2"))
241
+ values = c("orange2", "steelblue2")) +
242
+ theme(text = element_text(size = 14))
240
243
perim_concav
241
244
```
242
245
@@ -1103,7 +1106,8 @@ rare_plot <- rare_cancer |>
1103
1106
y = "Concavity (standardized)",
1104
1107
color = "Diagnosis") +
1105
1108
scale_color_manual(labels = c("Malignant", "Benign"),
1106
- values = c("orange2", "steelblue2"))
1109
+ values = c("orange2", "steelblue2")) +
1110
+ theme(text = element_text(size = 14))
1107
1111
1108
1112
rare_plot
1109
1113
```
@@ -1398,7 +1402,8 @@ wkflw_plot <-
1398
1402
x = "Area (standardized)",
1399
1403
y = "Smoothness (standardized)") +
1400
1404
scale_color_manual(labels = c("Malignant", "Benign"),
1401
- values = c("orange2", "steelblue2"))
1405
+ values = c("orange2", "steelblue2")) +
1406
+ theme(text = element_text(size = 14))
1402
1407
1403
1408
wkflw_plot
1404
1409
```
0 commit comments