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

Discrete histogram plot is flipped... #1503

Closed
tbenst opened this issue Dec 8, 2020 · 1 comment
Closed

Discrete histogram plot is flipped... #1503

tbenst opened this issue Dec 8, 2020 · 1 comment

Comments

@tbenst
Copy link

tbenst commented Dec 8, 2020

It seems the actual histogram is not colored. I'm a new gadfly user so let me know if user error! Thanks so much :)

df = DataFrame(concurrency_count=rand(1:15,1000), method="first")
df = vcat(df, DataFrame(concurrency_count=rand(1:15,1000), method="second"))
nbins = maximum(sample1[:])+1
grid = Geom.subplot_grid(Geom.histogram(density=true))
plot(df, x=:concurrency_count, grid, ygroup=:method, Scale.y_log())

gadfly_hist_log

@tbenst
Copy link
Author

tbenst commented Dec 8, 2020

fixed by removing density=true

@tbenst tbenst closed this as completed Dec 8, 2020
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

1 participant