@@ -42,11 +42,11 @@ module.exports = {
42
42
title : {
43
43
valType : 'string' ,
44
44
role : 'info' ,
45
- editType : 'ticks' ,
45
+ editType : 'ticks+margins ' ,
46
46
description : 'Sets the title of this axis.'
47
47
} ,
48
48
titlefont : fontAttrs ( {
49
- editType : 'ticks' ,
49
+ editType : 'ticks+margins ' ,
50
50
description : [
51
51
'Sets this axis\' title font.'
52
52
] . join ( ' ' )
@@ -100,10 +100,10 @@ module.exports = {
100
100
valType : 'info_array' ,
101
101
role : 'info' ,
102
102
items : [
103
- { valType : 'any' , editType : 'plot' , impliedEdits : { '^autorange' : false } } ,
104
- { valType : 'any' , editType : 'plot' , impliedEdits : { '^autorange' : false } }
103
+ { valType : 'any' , editType : 'plot+margins ' , impliedEdits : { '^autorange' : false } } ,
104
+ { valType : 'any' , editType : 'plot+margins ' , impliedEdits : { '^autorange' : false } }
105
105
] ,
106
- editType : 'plot' ,
106
+ editType : 'plot+margins ' ,
107
107
impliedEdits : { 'autorange' : false } ,
108
108
description : [
109
109
'Sets the range of this axis.' ,
@@ -198,7 +198,7 @@ module.exports = {
198
198
valType : 'enumerated' ,
199
199
values : [ 'auto' , 'linear' , 'array' ] ,
200
200
role : 'info' ,
201
- editType : 'ticks' ,
201
+ editType : 'ticks+margins ' ,
202
202
impliedEdits : { tick0 : undefined , dtick : undefined } ,
203
203
description : [
204
204
'Sets the tick mode for this axis.' ,
@@ -216,7 +216,7 @@ module.exports = {
216
216
min : 0 ,
217
217
dflt : 0 ,
218
218
role : 'style' ,
219
- editType : 'ticks' ,
219
+ editType : 'ticks+margins ' ,
220
220
description : [
221
221
'Specifies the maximum number of ticks for the particular axis.' ,
222
222
'The actual number of ticks will be chosen automatically to be' ,
@@ -227,7 +227,7 @@ module.exports = {
227
227
tick0 : {
228
228
valType : 'any' ,
229
229
role : 'style' ,
230
- editType : 'ticks' ,
230
+ editType : 'ticks+margins ' ,
231
231
impliedEdits : { tickmode : 'linear' } ,
232
232
description : [
233
233
'Sets the placement of the first tick on this axis.' ,
@@ -243,7 +243,7 @@ module.exports = {
243
243
dtick : {
244
244
valType : 'any' ,
245
245
role : 'style' ,
246
- editType : 'ticks' ,
246
+ editType : 'ticks+margins ' ,
247
247
impliedEdits : { tickmode : 'linear' } ,
248
248
description : [
249
249
'Sets the step in-between ticks on this axis. Use with `tick0`.' ,
@@ -269,7 +269,7 @@ module.exports = {
269
269
} ,
270
270
tickvals : {
271
271
valType : 'data_array' ,
272
- editType : 'ticks' ,
272
+ editType : 'ticks+margins ' ,
273
273
description : [
274
274
'Sets the values at which ticks on this axis appear.' ,
275
275
'Only has an effect if `tickmode` is set to *array*.' ,
@@ -278,7 +278,7 @@ module.exports = {
278
278
} ,
279
279
ticktext : {
280
280
valType : 'data_array' ,
281
- editType : 'ticks' ,
281
+ editType : 'ticks+margins ' ,
282
282
description : [
283
283
'Sets the text displayed at the ticks position via `tickvals`.' ,
284
284
'Only has an effect if `tickmode` is set to *array*.' ,
@@ -289,7 +289,7 @@ module.exports = {
289
289
valType : 'enumerated' ,
290
290
values : [ 'outside' , 'inside' , '' ] ,
291
291
role : 'style' ,
292
- editType : 'ticks' ,
292
+ editType : 'ticks+margins ' ,
293
293
description : [
294
294
'Determines whether ticks are drawn or not.' ,
295
295
'If **, this axis\' ticks are not drawn.' ,
@@ -341,14 +341,14 @@ module.exports = {
341
341
valType : 'boolean' ,
342
342
dflt : true ,
343
343
role : 'style' ,
344
- editType : 'ticks' ,
344
+ editType : 'ticks+margins ' ,
345
345
description : 'Determines whether or not the tick labels are drawn.'
346
346
} ,
347
347
automargin : {
348
348
valType : 'boolean' ,
349
349
dflt : false ,
350
350
role : 'style' ,
351
- editType : 'ticks' ,
351
+ editType : 'ticks+margins ' ,
352
352
description : [
353
353
'Determines whether long tick labels automatically grow the figure' ,
354
354
'margins.'
@@ -406,14 +406,14 @@ module.exports = {
406
406
description : 'Determines whether spikelines are stuck to the cursor or to the closest datapoints.'
407
407
} ,
408
408
tickfont : fontAttrs ( {
409
- editType : 'ticks' ,
409
+ editType : 'ticks+margins ' ,
410
410
description : 'Sets the tick font.'
411
411
} ) ,
412
412
tickangle : {
413
413
valType : 'angle' ,
414
414
dflt : 'auto' ,
415
415
role : 'style' ,
416
- editType : 'ticks' ,
416
+ editType : 'ticks+margins ' ,
417
417
description : [
418
418
'Sets the angle of the tick labels with respect to the horizontal.' ,
419
419
'For example, a `tickangle` of -90 draws the tick labels' ,
@@ -424,15 +424,15 @@ module.exports = {
424
424
valType : 'string' ,
425
425
dflt : '' ,
426
426
role : 'style' ,
427
- editType : 'ticks' ,
427
+ editType : 'ticks+margins ' ,
428
428
description : 'Sets a tick label prefix.'
429
429
} ,
430
430
showtickprefix : {
431
431
valType : 'enumerated' ,
432
432
values : [ 'all' , 'first' , 'last' , 'none' ] ,
433
433
dflt : 'all' ,
434
434
role : 'style' ,
435
- editType : 'ticks' ,
435
+ editType : 'ticks+margins ' ,
436
436
description : [
437
437
'If *all*, all tick labels are displayed with a prefix.' ,
438
438
'If *first*, only the first tick is displayed with a prefix.' ,
@@ -444,23 +444,23 @@ module.exports = {
444
444
valType : 'string' ,
445
445
dflt : '' ,
446
446
role : 'style' ,
447
- editType : 'ticks' ,
447
+ editType : 'ticks+margins ' ,
448
448
description : 'Sets a tick label suffix.'
449
449
} ,
450
450
showticksuffix : {
451
451
valType : 'enumerated' ,
452
452
values : [ 'all' , 'first' , 'last' , 'none' ] ,
453
453
dflt : 'all' ,
454
454
role : 'style' ,
455
- editType : 'ticks' ,
455
+ editType : 'ticks+margins ' ,
456
456
description : 'Same as `showtickprefix` but for tick suffixes.'
457
457
} ,
458
458
showexponent : {
459
459
valType : 'enumerated' ,
460
460
values : [ 'all' , 'first' , 'last' , 'none' ] ,
461
461
dflt : 'all' ,
462
462
role : 'style' ,
463
- editType : 'ticks' ,
463
+ editType : 'ticks+margins ' ,
464
464
description : [
465
465
'If *all*, all exponents are shown besides their significands.' ,
466
466
'If *first*, only the exponent of the first tick is shown.' ,
@@ -473,7 +473,7 @@ module.exports = {
473
473
values : [ 'none' , 'e' , 'E' , 'power' , 'SI' , 'B' ] ,
474
474
dflt : 'B' ,
475
475
role : 'style' ,
476
- editType : 'ticks' ,
476
+ editType : 'ticks+margins ' ,
477
477
description : [
478
478
'Determines a formatting rule for the tick exponents.' ,
479
479
'For example, consider the number 1,000,000,000.' ,
@@ -489,7 +489,7 @@ module.exports = {
489
489
valType : 'boolean' ,
490
490
dflt : false ,
491
491
role : 'style' ,
492
- editType : 'ticks' ,
492
+ editType : 'ticks+margins ' ,
493
493
description : [
494
494
'If "true", even 4-digit integers are separated'
495
495
] . join ( ' ' )
@@ -498,7 +498,7 @@ module.exports = {
498
498
valType : 'string' ,
499
499
dflt : '' ,
500
500
role : 'style' ,
501
- editType : 'ticks' ,
501
+ editType : 'ticks+margins ' ,
502
502
description : [
503
503
'Sets the tick label formatting rule using d3 formatting mini-languages' ,
504
504
'which are very similar to those in Python. For numbers, see:' ,
@@ -517,10 +517,10 @@ module.exports = {
517
517
valType : 'info_array' ,
518
518
role : 'info' ,
519
519
items : [
520
- { valType : 'any' , editType : 'ticks' } ,
521
- { valType : 'any' , editType : 'ticks' }
520
+ { valType : 'any' , editType : 'ticks+margins ' } ,
521
+ { valType : 'any' , editType : 'ticks+margins ' }
522
522
] ,
523
- editType : 'ticks' ,
523
+ editType : 'ticks+margins ' ,
524
524
description : [
525
525
'range [*min*, *max*], where *min*, *max* - dtick values' ,
526
526
'which describe some zoom level, it is possible to omit *min*' ,
@@ -531,12 +531,12 @@ module.exports = {
531
531
valType : 'string' ,
532
532
dflt : '' ,
533
533
role : 'style' ,
534
- editType : 'ticks' ,
534
+ editType : 'ticks+margins ' ,
535
535
description : [
536
536
'string - dtickformat for described zoom level, the same as *tickformat*'
537
537
] . join ( ' ' )
538
538
} ,
539
- editType : 'ticks'
539
+ editType : 'ticks+margins '
540
540
} ,
541
541
hoverformat : {
542
542
valType : 'string' ,
@@ -638,7 +638,7 @@ module.exports = {
638
638
constants . idRegex . y . toString ( )
639
639
] ,
640
640
role : 'info' ,
641
- editType : 'plot' ,
641
+ editType : 'plot+margins ' ,
642
642
description : [
643
643
'If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to' ,
644
644
'the corresponding opposite-letter axis.' ,
@@ -651,7 +651,7 @@ module.exports = {
651
651
valType : 'enumerated' ,
652
652
values : [ 'top' , 'bottom' , 'left' , 'right' ] ,
653
653
role : 'info' ,
654
- editType : 'plot' ,
654
+ editType : 'plot+margins ' ,
655
655
description : [
656
656
'Determines whether a x (y) axis is positioned' ,
657
657
'at the *bottom* (*left*) or *top* (*right*)' ,
@@ -695,11 +695,11 @@ module.exports = {
695
695
valType : 'info_array' ,
696
696
role : 'info' ,
697
697
items : [
698
- { valType : 'number' , min : 0 , max : 1 , editType : 'plot' } ,
699
- { valType : 'number' , min : 0 , max : 1 , editType : 'plot' }
698
+ { valType : 'number' , min : 0 , max : 1 , editType : 'plot+margins ' } ,
699
+ { valType : 'number' , min : 0 , max : 1 , editType : 'plot+margins ' }
700
700
] ,
701
701
dflt : [ 0 , 1 ] ,
702
- editType : 'plot' ,
702
+ editType : 'plot+margins ' ,
703
703
description : [
704
704
'Sets the domain of this axis (in plot fraction).'
705
705
] . join ( ' ' )
@@ -710,7 +710,7 @@ module.exports = {
710
710
max : 1 ,
711
711
dflt : 0 ,
712
712
role : 'style' ,
713
- editType : 'plot' ,
713
+ editType : 'plot+margins ' ,
714
714
description : [
715
715
'Sets the position of this axis in the plotting space' ,
716
716
'(in normalized coordinates).' ,
@@ -754,7 +754,7 @@ module.exports = {
754
754
autotick : {
755
755
valType : 'boolean' ,
756
756
role : 'info' ,
757
- editType : 'ticks' ,
757
+ editType : 'ticks+margins ' ,
758
758
description : [
759
759
'Obsolete.' ,
760
760
'Set `tickmode` to *auto* for old `autotick` *true* behavior.' ,
0 commit comments