Skip to content
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

histogram2d / heatmap with z: separate color for empty bins #975

Closed
ajrouvoet opened this issue Sep 23, 2016 · 4 comments
Closed

histogram2d / heatmap with z: separate color for empty bins #975

ajrouvoet opened this issue Sep 23, 2016 · 4 comments

Comments

@ajrouvoet
Copy link

ajrouvoet commented Sep 23, 2016

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.

@etpinard
Copy link
Contributor

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?

@ajrouvoet
Copy link
Author

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?

@etpinard
Copy link
Contributor

If I were to implement this feature and submit a PR [...] timeline for it to end up in a release

The next minor release (v1.18.0) should be out in about 7 to 10 days. We usually make minor release (i.e. release that add features) every two weeks or so.

(assuming it wouldn't be too hard)

Adding this feature will be similar to and have to touch the same files as PR #868

@gvwilson
Copy link
Contributor

gvwilson commented Jun 5, 2024

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

@gvwilson gvwilson closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants