-
-
Notifications
You must be signed in to change notification settings - Fork 343
stacked barplot
contains gap when using yscale=log
#4549
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
Comments
notice julia> barplot([1,2,3,1,2,3], [1,2,3,1,2,3], stack=[1,1,1,2,2,2], color=[1,1,1,2,2,2], gap=0, fillto=eps(); axis=(; yscale=log))
┌ Warning: Ignore keyword fillto when keyword stack is provided
└ @ Makie ~/.julia/packages/Makie/XQfuO/src/basic_recipes/barplot.jl:299 |
barplot
empty when using yscale=log
barplot
contains gap when using yscale=log
It looks like, from further testing, that it's just the first set of bars (at stack level 1) that aren't drawn - if you add more stacks, everything else seems to be drawn correctly... |
Yea because the bottom bars reach zero which is impossible in log scale so it got "canceled" |
Use pseudolog to avoid the infinity at zero? |
that would look "weird" to HEP community, basically since we never display zero, we should fill to |
Isn't the solution here just to implement |
linear scale
log scale
The text was updated successfully, but these errors were encountered: