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

style #418

Closed
IgorDouven opened this issue Oct 3, 2021 · 4 comments
Closed

style #418

IgorDouven opened this issue Oct 3, 2021 · 4 comments

Comments

@IgorDouven
Copy link

I hadn't used the package for a while, then went back to old code which does use it, but now I'm finding that the default style is (I'd say) the default style from R's ggplot package (grayish background, title no longer centered, etc.). Is there a way to switch back to the old style? The documentation says there are in-built styles, but I can't find them, neither in the documentation nor in the source code.

@empet
Copy link

empet commented Oct 3, 2021

@IgorDouven
I addressed the same question some time ago and @sglyon suggested here, in a closed issue, how to define my own template.

@IgorDouven
Copy link
Author

IgorDouven commented Oct 3, 2021 via email

@sglyon
Copy link
Member

sglyon commented Oct 4, 2021

The old default template can be applied for all charts created in a session by first setting:

templates.default = "gridon"

Then all commands to plot will have white background, old colors, and centered title

@IgorDouven
Copy link
Author

IgorDouven commented Oct 4, 2021 via email

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

3 participants