geom_bar with stat='identity' does not stack values when only one group present
@ASmirnov-HORIS is already working on this.
Since Sep 25, 2025.
Assessment
This issue has not been assessed yet.
Description
d = {
'name': ['foo', 'foo', 'bar', 'bar'],
'g': ['A', 'B', 'A', 'B'],
'value': [80, 90, 15, 35]
}
ggplot(d) + geom_bar(aes(x='name', y='value', group='name'), stat='identity')
Actual result:
When values are assigned to their own group, everything works as expected (note the mapping group='g'):
- Dominant language
- Kotlin
- Stars
- 1.8k
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JetBrains/lets-plot
-
SyntaxWarning upon library importPossibly taken @Shriraj1901 claimed this 12 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
-
Difficulty 3/5 1-2 days Newbie friendliness 67/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
All issues in JetBrains/lets-plot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AlfaazPlus/QuranApp#752 · 2 comments ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
theopenconversationkit/tock#2148 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
music-assistant/mobile-app#1393 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 67/100