Skip to content

Commit 749430d

Browse files
committed
fix autorange reversed
1 parent 18099ae commit 749430d

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

src/plots/cartesian/autorange.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function getAutoRange(gd, ax) {
105105
lBreaks += brk.max - brk.min;
106106
}
107107
}
108-
return (axReverse ? -1 : 1) * lBreaks;
108+
return lBreaks;
109109
};
110110

111111
var mbest = 0;
Loading
Loading

0 commit comments

Comments
 (0)