8000 fix autorange reversed · slawlor/plotly.js@749430d · GitHub
[go: up one dir, main page]

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

Lines changed: 1 addition & 1 deletion
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)
0