-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
colorbar=True is missing text values when logz=True #2606
Comments
This is specifically because the lower bound of the range is zero which is not supported by the log colormapper. |
Maybe this could show a warning in this case? Taking the log of zero is a reasonable thing to complain about... |
I assume there is code to drop the labels for all invalid values, e.g negative logs as well. Maybe a warning show up for any such invalid condition.. |
Presumably there is code elsewhere to deal with the zero values, or else logz=True itself should fail on this plot, both when choosing the colors for the main plot and when making the colorbar itself. Having it fail only when displaying the numerical values is odd. |
Good point. Whatever is being displayed with the colormap should have the corresponding value shown. I'm not sure how I would interpret log values when the data falls below 1 to be honest... |
I assume it's using log1p, so the colorbar labelling can just do the same. |
Looks like this is a problem in Bokeh, not HoloViews: bokeh/bokeh#8061 |
I can enable a colorbar for a logz plot, but it doesn't show any numbers, making it not be very useful:
Works fine without logz:
The text was updated successfully, but these errors were encountered: