Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: add the hint that you can use global options #12

Closed
DanChaltiel opened this issue Nov 19, 2021 · 2 comments
Closed

Documentation: add the hint that you can use global options #12

DanChaltiel opened this issue Nov 19, 2021 · 2 comments

Comments

@DanChaltiel
Copy link
Contributor

Hi Nan,

Thanks for this great package!

I just discovered that you can use global options to set the scale for all your plots:

options(ggplot2.discrete.colour=ggsci::scale_colour_lancet)
options(ggplot2.discrete.fill=ggsci::scale_fill_lancet)

I think this might be worth showing in the doc and in the pkgdown website.

@nanxstats
Copy link
Owner

Good - a PR is welcomed!

@nanxstats
Copy link
Owner

Fixed by 78a24ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants