Log-Scale Histograms fill down to value
DomHin opened this issue · comments
Hey developers,
I cannot imagine that I am the only one with this problem, but I have problems with Gadfly and Geom.histogram
(same issue also with Geom.bar
& Geom.hair
)
In science everyone loves distributions and needs to display them in a comparable way. The best to do is just normalise them - this function works (Geom.histogram(density=true
) nicely.
However, make nice plots of histograms of any type with logarithmic scale does not work with Gadfly.
Here an example:
x = randn(1000)
plot(x=x, Geom.histogram(density=true))
BUT once you apply Scale.y_log10
it looks like that:
plot(x=x, Geom.histogram(density=true), Scale.y_log10)
Obviously, it always fills until zero, which is for the log case 10e0.
The question is, is there a way to change a fill_to
value for this? So that one can say that it should fill down to 10e-2 for example ?
Thanks for your help.