Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f31d97c

Browse filesBrowse files
committed
should not depend on the rangemode of counter axis
1 parent bc38ade commit f31d97c
Copy full SHA for f31d97c

File tree

Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed

‎src/plots/cartesian/autorange.js

Copy file name to clipboardExpand all lines: src/plots/cartesian/autorange.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,7 @@ function makePadFn(fullLayout, ax, max) {
229229
if(ax.rangemode !== 'nonnegative') {
230230
A = padInsideLabelsOnAnchorAxis(ax, max);
231231

232-
if(anchorAxis.rangemode !== 'nonnegative') {
233-
B = padInsideLabelsOnThisAxis(ax, max);
234-
}
232+
B = padInsideLabelsOnThisAxis(ax, max);
235233
}
236234
}
237235

-8.17 KB
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.