Skip to content
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

[BUG] StatsPlots groupedbar with negative values #3499

Closed
rmarto opened this issue May 14, 2021 · 2 comments
Closed

[BUG] StatsPlots groupedbar with negative values #3499

rmarto opened this issue May 14, 2021 · 2 comments

Comments

@rmarto
Copy link

rmarto commented May 14, 2021

Groupedbar does not stack bars when values are negative. Could you please help solve this issue?
Here's a simple example:
ctg = repeat(["Category 1", "Category 2"], inner = 5) nam = repeat("G" .* string.(1:5), outer = 2) groupedbar(nam, -rand(5, 2), group = ctg, bar_position = :stack)

@lobingera
Copy link

Cannot reproduce

a

@rmarto
Copy link
Author

rmarto commented May 24, 2021

Thanks, it seems my StatsPlots.jl was outdated. An update solved the issue.

@rmarto rmarto closed this as completed May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants