-
Notifications
You must be signed in to change notification settings - Fork 2.1k
geom_area position_stack order appears to have changed #2778
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
Comments
It looks the same in the manual to me? I do think the stack order changed at some point but it was a while ago in 2.2.0. |
@karawoo, You're probably right. My plots are from February 2015, so this may well be an old change. The example from the manual confused me because I got a plot that looked quite different and assumed it was a common cause. The real reason is that the data used in the example is random. It might be useful to set a seed before the data is created to make it clearer, e.g.
|
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
The default order of the data in
geom_area()
has changed. The order is no longer the order shown in the manual https://ggplot2.tidyverse.org/reference/position_stack.htmlWas that intended? Is it documented?
Created on 2018-07-26 by the reprex package (v0.2.0).
Compare the above with the relevant part of the manual:
https://ggplot2.tidyverse.org/reference/position_stack-5.png
The text was updated successfully, but these errors were encountered: