Skip to content

Commit

Permalink
fix autorange reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Mar 29, 2020
1 parent 18099ae commit 749430d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/cartesian/autorange.js
Expand Up @@ -105,7 +105,7 @@ function getAutoRange(gd, ax) {
lBreaks += brk.max - brk.min;
}
}
return (axReverse ? -1 : 1) * lBreaks;
return lBreaks;
};

var mbest = 0;
Expand Down
Binary file modified test/image/baselines/axes_breaks-night_autorange-reversed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/image/baselines/axes_breaks-reversed-without-pattern.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 749430d

Please sign in to comment.