stat_summary makes groups too small #739

Closed
wch opened this Issue Dec 10, 2012 · 1 comment

2 participants

@wch
Collaborator

This bug was probably introduced by f2f5e8c, which was a fix for #622.

This should have lines connecting the means:

ggplot(mtcars, aes(cyl, hp, colour = factor(gear))) + geom_point() +
  stat_summary(aes(group = factor(gear)), fun.y = mean, geom = "line")
# geom_path: Each group consist of only one observation. Do you need to adjust the group aesthetic?
@low-decarie

same as #732 ?

Cheers

@wch wch added a commit to wch/ggplot2 that referenced this issue Feb 27, 2013
@wch wch Revert stat_summary grouping. Fixes #739 and #732 525bcca
@wch wch closed this in deb4c50 Mar 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment