Skip to content

Conversation

etpinard
Copy link
Contributor

@plotly/plotly_js This PR starts with a fix for #3909 then follow-up with two more histogram2d* bug fixes.

etpinard added 4 commits May 29, 2019 12:28
- this fixes some shared histogram2d (via bingroup) edge cases
- this fixes a performance regression from #3845
- this removed the annoying `x: NaN` from histogram2d
  hover labels
@etpinard etpinard added bug something broken status: reviewable labels May 29, 2019
// clear this flag, so next time we run calc we will run autobin again
if(trace._autoBinFinished) {
delete trace._autoBinFinished;
if(trace['_' + mainData + 'autoBinFinished']) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixup from #3909

As now both histogram and histogram2d* traces go through calcAllAutoBins, we need to split the "has autoBin finished` logic into x and y values.

@@ -0,0 +1,756 @@
{
"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.

@@ -0,0 +1,756 @@
{
"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 one looks like:

image

on master.

@archmoj
Copy link
Contributor

archmoj commented May 30, 2019

Nicely done.
💃 💃

@etpinard etpinard merged commit 60adfe9 into master May 30, 2019
@etpinard etpinard deleted the histogram2d-single-sample-fix branch May 30, 2019 14:19
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

Successfully merging this pull request may close these issues.

2 participants