Skip to content

Commit 5aaa0df

Browse files
committed
remove old obsolete exponentformat/showexponent fallback
1 parent f873b26 commit 5aaa0df

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/plots/cartesian/axes.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,17 +1817,6 @@ axes.doTicks = function(gd, axid, skipTitle) {
18171817
}
18181818
}
18191819

1820-
// make sure we only have allowed options for exponents
1821-
// (others can make confusing errors)
1822-
if(!ax.tickformat) {
1823-
if(['none', 'e', 'E', 'power', 'SI', 'B'].indexOf(ax.exponentformat) === -1) {
1824-
ax.exponentformat = 'e';
1825-
}
1826-
if(['all', 'first', 'last', 'none'].indexOf(ax.showexponent) === -1) {
1827-
ax.showexponent = 'all';
1828-
}
1829-
}
1830-
18311820
// set scaling to pixels
18321821
ax.setScale();
18331822

0 commit comments

Comments
 (0)