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

Fix bound arrays with "0" x/y categories #3691

Merged
merged 2 commits into from
Mar 28, 2019
Merged

Conversation

etpinard
Copy link
Contributor

fixes #3684

cc @plotly/plotly_js

... when computing bounds array for heatmap/contour traces
    with category x/y coordinates. This lead to a correct position
    and the `|| 0` fallback got ignored.
@@ -0,0 +1,32 @@
{
"data": [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mock currently renders as:

image

@archmoj
Copy link
Contributor

archmoj commented Mar 28, 2019

Great fix!
💃

@etpinard etpinard merged commit c740e3f into master Mar 28, 2019
@etpinard etpinard deleted the heatmap-category-0 branch March 28, 2019 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

This heatmap with "0" x/y category coords is broken
2 participants