Skip to content

size is used in annotation_logticks() instead of linewidth #5292

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

Closed
slowkow opened this issue May 1, 2023 · 1 comment · Fixed by #5330
Closed

size is used in annotation_logticks() instead of linewidth #5292

slowkow opened this issue May 1, 2023 · 1 comment · Fixed by #5330
Labels
bug an unexpected problem or unintended behavior

Comments

@slowkow
Copy link
Contributor

slowkow commented May 1, 2023

I noticed ggplot2 is now producing warning messages:

Warning messages:
1: The `size` argument of `element_line()` is deprecated as of ggplot2 3.4.0.
ℹ Please use the `linewidth` argument instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.

annotation_logticks() still uses size instead of linewidth:

size = size,

@teunbrand
Copy link
Collaborator

Thanks for the report: it indeed looks like an oversight on ggplot2's part.

@teunbrand teunbrand added the bug an unexpected problem or unintended behavior label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants