Skip to content

Commit fd78e8d

Browse files
Removing tickmode sync from minor ticks
1 parent 6c363ad commit fd78e8d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,19 @@ module.exports = {
949949
},
950950

951951
minor: {
952-
tickmode: tickmode,
952+
tickmode: extendFlat({}, axesAttrs.tickmode, {
953+
values: ['auto', 'linear', 'array'],
954+
description: [
955+
'Sets the tick mode for this axis.',
956+
'If *auto*, the number of ticks is set via `nticks`.',
957+
'If *linear*, the placement of the ticks is determined by',
958+
'a starting position `tick0` and a tick step `dtick`',
959+
'(*linear* is the default value if `tick0` and `dtick` are provided).',
960+
'If *array*, the placement of the ticks is set via `tickvals`',
961+
'and the tick text is `ticktext`.',
962+
'(*array* is the default value if `tickvals` is provided).'
963+
].join(' ')
964+
}),
953965
nticks: makeNticks('minor'),
954966
tick0: tick0,
955967
dtick: dtick,

0 commit comments

Comments
 (0)