Skip to content

Commit 22c703a

Browse files
Removed tickmode sync from non-relevant plot types
1 parent 93f4a8e commit 22c703a

File tree

6 files changed

+51
-327
lines changed

6 files changed

+51
-327
lines changed

src/components/colorbar/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ module.exports = overrideAll({
130130
},
131131
// tick and title properties named and function exactly as in axes
132132
tickmode: extendFlat({}, axesAttrs.tickmode, {
133-
dflt: ['auto', 'linear', 'array'],
133+
values: ['auto', 'linear', 'array'],
134134
description: [
135135
'Sets the tick mode for this axis.',
136136
'If *auto*, the number of ticks is set via `nticks`.',

src/plots/gl3d/layout/axis_attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = overrideAll({
7575
}),
7676
// ticks
7777
tickmode: extendFlat({}, axesAttrs.tickmode, {
78-
dflt: ['auto', 'linear', 'array'],
78+
values: ['auto', 'linear', 'array'],
7979
description: [
8080
'Sets the tick mode for this axis.',
8181
'If *auto*, the number of ticks is set via `nticks`.',

src/plots/polar/layout_attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var axisLineGridAttr = overrideAll({
2424

2525
var axisTickAttrs = overrideAll({
2626
tickmode: extendFlat({}, axesAttrs.tickmode, {
27-
dflt: ['auto', 'linear', 'array'],
27+
values: ['auto', 'linear', 'array'],
2828
description: [
2929
'Sets the tick mode for this axis.',
3030
'If *auto*, the number of ticks is set via `nticks`.',

src/plots/ternary/layout_attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var ternaryAxesAttrs = {
1616
color: axesAttrs.color,
1717
// ticks
1818
tickmode: extendFlat({}, axesAttrs.tickmode, {
19-
dflt: ['auto', 'linear', 'array'],
19+
values: ['auto', 'linear', 'array'],
2020
description: [
2121
'Sets the tick mode for this axis.',
2222
'If *auto*, the number of ticks is set via `nticks`.',

src/traces/indicator/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ module.exports = {
308308
}),
309309
// tick and title properties named and function exactly as in axes
310310
tickmode: extendFlat({}, axesAttrs.tickmode, {
311-
dflt: ['auto', 'linear', 'array'],
311+
values: ['auto', 'linear', 'array'],
312312
description: [
313313
'Sets the tick mode for this axis.',
314314
'If *auto*, the number of ticks is set via `nticks`.',

0 commit comments

Comments
 (0)