Skip to content

Commit 1f52f4e

Browse files
committed
"noDrawminorticklabel" exception for gl3d plots
1 parent f7d9abf commit 1f52f4e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/plots/cartesian/axis_defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = function handleAxisDefaults(containerIn, containerOut, coerce,
5959
}
6060
}
6161

62-
if(axType !== 'category' && axType !== 'multicategory' && axType !== 'log') {
62+
if(!options.noDrawminorticklabel && axType !== 'category' && axType !== 'multicategory' && axType !== 'log') {
6363
coerce('drawminorticklabel');
6464
}
6565

src/plots/gl3d/layout/axis_defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, options) {
4242
data: options.data,
4343
showGrid: true,
4444
noAutotickangles: true,
45+
noDrawminorticklabel: true,
4546
noTickson: true,
4647
noTicklabelmode: true,
4748
noTicklabelstep: true,

0 commit comments

Comments
 (0)