We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
linewidth
size
#3672 introduced linewidth to Geoms. On the other hand, element_rect() and element_line() still uses size. Do we need to rename them for consistency?
element_rect()
element_line()
Currently, this doesn't work.
library(ggplot2) ggplot(mpg, aes(x = hwy, y = cty, color = drv)) + geom_point() + theme( legend.key = element_rect(linewidth = 3, colour = "red") ) #> Error in element_rect(linewidth = 3, colour = "red"): unused argument (linewidth = 3)
Created on 2022-08-22 with reprex v2.0.2
The text was updated successfully, but these errors were encountered:
I think we should, but we should be careful to properly deprecate the size argument... I can take a stab at this
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
#3672 introduced
linewidth
to Geoms. On the other hand,element_rect()
andelement_line()
still usessize
. Do we need to rename them for consistency?Currently, this doesn't work.
Created on 2022-08-22 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: