-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
histogram2d / heatmap with z: separate color for empty bins #975
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
That would be really nice to allow for a special no-data color - even heatmap traces could benefit from it. In the meantime, here's a workaround: http://codepen.io/etpinard/pen/xVoJoj? |
If I were to implement this feature and submit a PR (assuming it wouldn't be too hard), what would be the timeline for it to end up in a release? |
The next minor release (
Adding this feature will be similar to and have to touch the same files as PR #868 |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
2d histograms with
histfunc = avg|sum
are useful for plotting measurements on irregular 2D grids.The downside of this approach is that the representation of zero measurements collapses with e.g. n times a measurement of zero.
For these applications it would be useful if there was some way of either treating empty bins separately, or having the ability of setting a custom histfunc.
The text was updated successfully, but these errors were encountered: