diff --git a/README.md b/README.md index 7c7d805..177de99 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,12 @@ p1 <- ggplot(mtcars, aes(x = brand, fill = carb)) + facet_wrap(vars(am, vs, gear), strip.position = "top", scales = "free_x", nrow = 1) + theme_bw(base_size = 15) + theme(panel.spacing = unit(0, "lines"), - strip.background = element_rect(color = "black", size = 0, fill = "grey92"), + strip.background = element_rect(color = "black", size = 0.1, fill = "grey92"), strip.placement = "outside", axis.text.x = element_text(angle = 90, hjust = 1, vjust = 0.3), panel.grid.major = element_blank(), panel.grid.minor = element_line(colour = "grey"), - panel.border = element_rect(color = "black", fill = NA, size = 0), + panel.border = element_rect(color = "black", fill = NA, size = 0.1), panel.background = element_rect(fill = "white")) # show/save base ggplot2 bar chart @@ -52,4 +52,4 @@ ggsave("p1.png", width = 20, height = 5) (p2 <- ggNestedBarChart(p1)) ggsave("p2.png", width = 20, height = 5) ``` -![ggNestedBarChart Example](p2.png?raw=true "ggNestedBarChart Example") \ No newline at end of file +![ggNestedBarChart Example](p2.png?raw=true "ggNestedBarChart Example")