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

stat_summary ignores geom aesthetics when used with median function #1242

Closed
gokceneraslan opened this issue Aug 5, 2015 · 1 comment
Closed

Comments

@gokceneraslan
Copy link
Contributor

@gokceneraslan gokceneraslan commented Aug 5, 2015

qplot(cyl, mpg, data=mtcars) + stat_summary(fun.y=median, colour="red", geom='point', size = 3)

example is no longer reproducible on master branch. It gives a warning:

Warning message:
Computation failed in `stat_summary()`:
unused arguments (colour = "red", size = 3) 

and does not plot geom_point. On the other hand, it works properly when the mean function is supplied:

qplot(cyl, mpg, data=mtcars) + stat_summary(fun.y=mean, colour="red", geom='point', size = 3)
@hadley hadley closed this in 3208fc5 Aug 5, 2015
@gokceneraslan
Copy link
Contributor Author

@gokceneraslan gokceneraslan commented Aug 5, 2015

Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant