Skip to content

Commit d043151

Browse files
committed
add margin.autoexpand attr description
1 parent 42d5e4e commit d043151

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/plots/layout_attributes.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,12 @@ module.exports = {
225225
valType: 'boolean',
226226
role: 'info',
227227
dflt: true,
228-
editType: 'plot'
228+
editType: 'plot',
229+
description: [
230+
'Turns on/off margin expansion computations.',
231+
'Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider',
232+
'are allowed to push the margins by defaults.'
233+
].join(' ')
229234
},
230235
editType: 'plot'
231236
},
@@ -417,7 +422,7 @@ module.exports = {
417422
description: [
418423
'Assigns extra meta information that can be used in various `text` attributes.',
419424
'Attributes such as the graph, axis and colorbar `title.text`, annotation `text`',
420-
'`trace.name` in legend items, `rangeselector`, `updatemenues` and `sliders` `label` text',
425+
'`trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text',
421426
'all support `meta`. One can access `meta` fields using template strings:',
422427
'`%{meta[i]}` where `i` is the index of the `meta`',
423428
'item in question.',

0 commit comments

Comments
 (0)