NCSU-Libraries / data-science-cookbook

MIT License
6 stars 1 forks source link

How to modify and existing or create a new theme for ggplots in R #9

Closed SRSchmittling closed 3 years ago

SRSchmittling commented 3 years ago

A recipe for using theme_update() and theme_replace() with ggplot

mikenutt commented 3 years ago

How would this differ from the documentation at https://ggplot2.tidyverse.org/reference/theme_get.html?

SRSchmittling commented 3 years ago

This recipe would show what is different between theme_update() and theme_replace(). The link references the difference, but it isn't clear from a programatic perspective, how these are different. The examples would allow users to "see" the difference.

SRSchmittling commented 3 years ago

Can this issue be closed? I would say that the recipe would be an improvement over the link by virtual of the fact that it will have an example, which makes the difference between theme_update() and theme_replace() more obvious.

csbailey5t commented 3 years ago

Agreed on the value of the recipe.