Skip to content

Commit

Permalink
should not depend on the rangemode of counter axis
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Dec 9, 2020
1 parent bc38ade commit f31d97c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plots/cartesian/autorange.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,7 @@ function makePadFn(fullLayout, ax, max) {
if(ax.rangemode !== 'nonnegative') {
A = padInsideLabelsOnAnchorAxis(ax, max);

if(anchorAxis.rangemode !== 'nonnegative') {
B = padInsideLabelsOnThisAxis(ax, max);
}
B = padInsideLabelsOnThisAxis(ax, max);
}
}

Expand Down
Binary file modified test/image/baselines/ticklabelposition-5.png
Loading
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 f31d97c

Please sign in to comment.