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
Example:
data = { 'x': [0, 0, 1, 1, 0, 0, 1, 1], 'f': ['A', 'B', 'B', 'A', 'B', 'A', 'A', 'B'], 'g': ['X', 'X', 'X', 'X', 'Y', 'Y', 'Y', 'Y'], } ggplot(data) + \ geom_bar(aes(x='x', fill='f')) + \ facet_grid(x='g')
Result:
Expected (as in ggplot2):
The case isn't connected with any specific position type, e.g. the same problem comes up for the following plot:
ggplot(data) + \ geom_bar(aes(x='x', fill='f'), position='dodge') + \ facet_grid(x='g')
The text was updated successfully, but these errors were encountered:
Another example:
data = { "g": ["X", "X", "X", "X", "X", "Y", "Y", "Y", "Y", "Y"], "f": ["A", "B", "C", "D", "E", "E", "D", "C", "B", "A"], "z": ['Q', 'Q', 'Q', 'E', 'E', 'W', 'W', 'W', 'Q', 'E'], "x": ['L', 'L', 'L', "L", "R", "L", "L", "L", "R", "R"], } ggplot(data) + geom_bar(aes(x='x', fill='f', color='z')) + \ geom_label(aes(x='x', label='f'), position=position_stack(vjust=0.5), stat='count') + \ facet_grid(x='g')
Sorry, something went wrong.
Fixed in v3.2.0
OLarionova-HORIS
No branches or pull requests
Example:
Result:
Expected (as in ggplot2):
The case isn't connected with any specific position type, e.g. the same problem comes up for the following plot:
The text was updated successfully, but these errors were encountered: