Skip to content

Commit 42a74c4

Browse files
Update src/traces/box/cross_trace_calc.js
Co-authored-by: Alex Johnson <[email protected]>
1 parent 6e6bfa6 commit 42a74c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/box/cross_trace_calc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function setPositionOffset(traceType, gd, boxList, posAxis) {
6262
// box plots - update dPos based on multiple traces
6363
var boxdv = Lib.distinctVals(pointList);
6464
if(posAxis.type === 'category' || posAxis.type === 'multicategory') {
65-
boxdv.minDiff = Math.min(1, boxdv.minDiff);
65+
boxdv.minDiff = 1;
6666
}
6767

6868
var dPos0 = boxdv.minDiff / 2;

0 commit comments

Comments
 (0)