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

Panel.margin and legend.margin deprecated in ggplot2 2.2.0 #73

Closed
madsboending opened this issue Nov 14, 2016 · 1 comment
Closed

Panel.margin and legend.margin deprecated in ggplot2 2.2.0 #73

madsboending opened this issue Nov 14, 2016 · 1 comment

Comments

@madsboending
Copy link

Hi

Great package, thanks!

After updating to ggplot2 2.2.0 I get following warnings when using theme_economist_white()
Warning messages:
1: panel.margin is deprecated. Please use panel.spacing property instead
2: legend.margin must be specified using margin(). For the old behavior use legend.spacing

ggplot(mpg, aes(hwy))+geom_density()+theme_economist_white() recreates the warnings

@jrnold
Copy link
Owner

jrnold commented Nov 24, 2016

Thanks! I had that fixed in github branch, but was waiting for 2.2.0 to push to CRAN and I had missed that it was updated on CRAN. I'll be uploading a new version of ggthemes to CRAN soon.

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