Skip to content

Commit 6103fce

Browse files
committed
add comment
1 parent f3de76a commit 6103fce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/traces/histogram/calc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ function calc(gd, trace) {
188188
if(uniqueValsPerBin) {
189189
cdi.ph0 = cdi.ph1 = (inputPoints[i].length) ? pos0[inputPoints[i][0]] : pos[i];
190190
} else {
191+
// Defer evaluation of ph(0|1) in crossTraceCalc
191192
trace._computePh = true;
192193
cdi.ph0 = roundFn(binEdges[i]);
193194
cdi.ph1 = roundFn(binEdges[i + 1], true);

0 commit comments

Comments
 (0)