-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Log axes aren't supported in histogram2d
or histogram2dcontour
#1844
Comments
https://codepen.io/etpinard/pen/gRzGXg Do 1D log-axes histogram even work? Is that even a thing? |
This one has some interesting theoretical implications: It's not just a matter of displaying the histogram on a log axis (showing a heatmap or bar trace on a log axis works fine). You also need to space the bins logarithmically, and if there's normalization it amounts to something like "counts per decade" instead of whatever units are on the axis. Also this would give us more motivation to include the bounds of the bin in hover labels, not just the center - see #69. Or, even better, the bounds of the data in the bin... for example if your bin is 1.5 - 3.5 but your data is all integers, it should say 2 - 3. |
totally a thing, and would love to use plotly for this. Is this in the works...? |
Could you share an example/screenshot from another library to help us out? |
currently using numpy to set bins and plotly bar as work around log option in matplotlib sets y axis to log scale rather than x. No great option in python that I'm aware of, other than setting bins manually. Log scale x axis is desirable in the case of highly skewed distribution. In my own experience is this is common with geoscience data where GSLIB Histplt is often used |
I, too, would like to use log axes in a histogram2d. Currently, it is just odd. For instance, using the "2D Histogram of a Bivariate Normal Distribution with Plotly JS" example and just changing the yaxis to type: 'log', you get a strange row of data: https://codepen.io/manthey/pen/VNjZMy If you manually change the range of the y axis, it looks like all of the data is offset, but otherwise somehow binned: https://codepen.io/manthey/pen/EJyYLW |
+1 for this feature |
having the same issue here, is there a workaround? |
+1 |
2 similar comments
+1 |
+1 |
This still seems like a good idea! |
This issue has been tagged with A community PR for this feature would certainly be welcome, but our experience is deeper features like this are difficult to complete without the Plotly maintainers leading the effort. Sponsorship range: $10k-$15k What Sponsorship includes:
Please include the link to this issue when contacting us to discuss. |
Bumping... no reason this should still be open. I can't do |
@gvwilson I see some recent activity on this. Does it mean it will be soon available ? Would be an absolute game changer for my case. Many thanks |
as reported in the community forum: https://community.plot.ly/t/2d-histogram-with-log-axes-supported/4711
example: https://plot.ly/~chris/18409/
The text was updated successfully, but these errors were encountered: