Skip to content

Commit be11c03

Browse files
committed
remove axis attribute duplication
1 parent a155bd9 commit be11c03

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

src/traces/carpet/axis_attributes.js

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
var extendFlat = require('../../lib/extend').extendFlat;
1212
var fontAttrs = require('../../plots/font_attributes');
1313
var colorAttrs = require('../../components/color/attributes');
14+
var axesAttrs = require('../../plots/cartesian/layout_attributes')
1415

1516
module.exports = {
1617
color: {
@@ -265,31 +266,7 @@ module.exports = {
265266
'*%H~%M~%S.%2f* would display *09~15~23.46*'
266267
].join(' ')
267268
},
268-
tickformatstops: {
269-
_isLinkedToArray: 'tickformatstop',
270-
271-
dtickrange: {
272-
valType: 'info_array',
273-
role: 'info',
274-
items: [
275-
{valType: 'any'},
276-
{valType: 'any'}
277-
],
278-
description: [
279-
'range [*min*, *max*], where *min*, *max* - dtick values',
280-
'which describe some zoom level, it is possible to omit *min*',
281-
'or *max* value by passing *null*'
282-
].join(' ')
283-
},
284-
value: {
285-
valType: 'string',
286-
dflt: '',
287-
role: 'style',
288-
description: [
289-
'string - dtickformat for described zoom level, the same as *tickformat*'
290-
].join(' ')
291-
}
292-
},
269+
tickformatstops: axesAttrs.tickformatstops,
293270
categoryorder: {
294271
valType: 'enumerated',
295272
values: [

0 commit comments

Comments
 (0)