Skip to content

Problems with shared autobins on single-sample-point histogram2d #3909

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

Closed
nicolaskruchten opened this issue May 24, 2019 · 8 comments
Closed
Assignees
Labels
bug something broken

Comments

@nicolaskruchten
Copy link
Contributor

One of these facets has misaligned bins: https://codepen.io/nicolaskruchten/pen/MdVdGw

@nicolaskruchten
Copy link
Contributor Author

Note also: that misaligned one has x:NaN, y:NaN in the hover for some reason

@nicolaskruchten nicolaskruchten added the bug something broken label May 27, 2019
@etpinard
Copy link
Contributor

They are misaligned, but are they incompatible? It's not obvious to me by looking at it quickly. I'll take deep dive tomorrow.

@etpinard
Copy link
Contributor

Thanks for reporting. Something is up with histogram2d traces that have 1 x and y sample point. I can't replicate the problem with other samples with 2 or more points (example adding one pt to gd.data[2] https://codepen.io/etpinard/pen/byjbbr?editors=1010)

Is this blocking for 1.48.0?

@etpinard
Copy link
Contributor

Similar to #3881

@etpinard etpinard changed the title shared autobins on histogram2d Problems with shared autobins on single-sample-point histogram2d May 28, 2019
@nicolaskruchten
Copy link
Contributor Author

agreed that it is "compatible" and that it shouldn't block 1.48, but it does seem like a bug to me.

@etpinard
Copy link
Contributor

but it does seem like a bug to me.

Yep, no doubt it's a bug.

@etpinard
Copy link
Contributor

In fact, even non-shared single-sample-point histogram2d traces do not respect xbins / ybins settings:

https://codepen.io/etpinard/pen/eajory?editors=1010

@etpinard
Copy link
Contributor

Ha, looks like things were working ok back in 1.42.x: https://codepen.io/etpinard/pen/eajory?editors=1010

Commit e0116cb#diff-98b2c1750afe8f855914e1647f72dbfe didn't work for histogram2d traces

@etpinard etpinard self-assigned this May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

2 participants