-
Notifications
You must be signed in to change notification settings - Fork 36
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
facet_wrap2 adding wrong x axis labels #140
Labels
bug
Something isn't working
Comments
I noticed a similar thing. (Just in case another examples helps):
check the facet "Steadfast Mole" which has wrong x-axis labels.
|
Thanks both for reporting! I'll try to crank out a patch release sometime this week |
Fixed by 53b923c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
df <- data.frame(
xcat=c('A', 'A', 'C', 'A', 'B', 'C'),
yval=1:6,
facet=rep(c('y1', 'y2', 'y3'),2))
#works as intended
ggplot(df) +
geom_point(aes(x=xcat, y=yval)) +
facet_wrap2(~facet, ncol=3, scales='free_x')
#mis-labels facet y2
ggplot(df) +
geom_point(aes(x=xcat, y=yval)) +
facet_wrap2(~facet, ncol=2, scales='free_x')
The text was updated successfully, but these errors were encountered: