Minimal reproducible example: ```python data = { 'x': [0, 0, 0], 'g': ['a', 'a', 'b'], } ggplot(data, aes(x='x', fill='g')) + \ geom_bar(position='fill') + \ ylim(0, 1) ``` Output: <img src="https://user-images.githubusercontent.com/26162403/220981715-49337b9e-12b3-4bba-ac5b-e81d6a954f62.png" width="400"></img> Expected (as in ggplot2): <img src="https://user-images.githubusercontent.com/26162403/220981916-76ed10b3-66b0-44bd-9ead-69943fdc546b.png" width="400"></img>
Minimal reproducible example:
Output:
Expected (as in ggplot2):