render histograms on log axes with bin edge at 0
In this codepen, the first plot shows a basic histogram, although note that the leftmost bin edge is 0. The second plot just changes the x-axis type to log, which causes all the bars to disappear. The third plot shows that histograms on log axes can and do work, when there is not a bin edge at 0.
It would be nice if histograms reliably rendered on log axes, even with linearly computed bins like we have right now, because then folks could compute their own log bins and display plots. In some future iteration we could support automatic log bins, but let's just fix this one bug first? Would be good to make sure it's fixed for histogram2d etc as well if possible
Any progress?
px.histogram(log_x=True) fails because of this bug if some x values are zero.
when could we use px.histogram(log_x=True), we are expecting!!
Hi @Msx1998 - it's not currently on our roadmap, but we would be happy to review a pull request from the community. Thanks - @gvwilson