-
-
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
Shared / matching auto-binning for histogram2d traces #3515
Comments
a shared object would probably work for So a grouping attribute seems more appropriate to me. That argument doesn't apply to colorscales/colorbars - there I think "shared" is either all or nothing. |
so what does it look like when you have two |
Overlapping would be plausible, but more common I'd think is tiling side-by-side, which is why I want to ensure we support compatible but not identical binning. Certainly more marginal than different subplots, but we still don't want to break it! |
Is there an issue open for optionally matching binning logic for overlaid 1d histograms? Would it make sense to handle that case with this issue? |
note: once this and #3431 are done we can add |
I think this is obvious, but I'd like confirmation:
Is that correct? Or should |
I feel like there would be uses for |
Ok great, I'm glad I asked. Next, should we allow |
Just leaving my feedback as I'm dealing with this exact problem now. I would like exactly overlaid w/ opacity, which was described above as a "marginal" case. I'm using it to develop what I think is a more natural selection display (I overlay the selected points as a new trace with opacity .75). |
@kevinoe Thanks for writing in! Could you share an example of your use case to help us out even more? Cheers! |
I suppose we could imagine something like a manually-constructed But in general it would be nice to only need to specify the group once. Perhaps we make all three attributes, and |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
More on this topic, should Plotly.newPlot(gd, [{
type: 'histogram2d',
x: [1], y: [1],
bingroup: '1'
}, {
type: 'histogram2d',
x: [2], y: [2],
bingroup: '1'
}])
|
I went with
in #3845 |
Split from #3506 (comment)
We don't currently match auto-binning for
histogram2d
traces on the same subplot, unlike we do for stacked & groupedhistogram
traces post #3044.To do so, we could either:
bingroup
), or(x|y)bins
objects in the layout similar to "shared" color scales/axes discussed in Shared colorscales/colorbars aka coloraxes #3431cc @nicolaskruchten
The text was updated successfully, but these errors were encountered: