Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfec0ac

Browse files
committed
Make sure default exponentbase is set
1 parent 4eea120 commit bfec0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ axes.handleTickDefaults = function(containerIn, containerOut, coerce, axType, op
251251
coerce('showexponent', showAttrDflt);
252252
coerce('exponentbase');
253253

254-
var expBase = containerIn.exponentbase,
254+
var expBase = containerOut.exponentbase,
255255
expFormatDflt = (expBase !== 2 && expBase !== 10) ? 'power' : undefined;
256256

257257
coerce('exponentformat', expFormatDflt);

0 commit comments

Comments
 (0)