Skip to content

Commit ffea962

Browse files
committed
docstring: specify padding is in px
1 parent c34d6de commit ffea962

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/shapes/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ module.exports = templatedArray('shape', {
301301
dflt: 3,
302302
min: 0,
303303
editType: 'arraydraw',
304-
description: 'Sets padding between edge of label and xanchor / yanchor.'
304+
description: 'Sets padding (in px) between edge of label and xanchor / yanchor.'
305305
},
306306
editType: 'arraydraw'
307307
},

src/components/shapes/draw_newshape/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module.exports = {
154154
dflt: 3,
155155
min: 0,
156156
editType: 'none',
157-
description: 'Sets padding between edge of label and xanchor / yanchor.'
157+
description: 'Sets padding (in px) between edge of label and xanchor / yanchor.'
158158
},
159159
editType: 'none'
160160
},

test/plot-schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3597,7 +3597,7 @@
35973597
}
35983598
},
35993599
"padding": {
3600-
"description": "Sets padding between edge of label and xanchor / yanchor.",
3600+
"description": "Sets padding (in px) between edge of label and xanchor / yanchor.",
36013601
"dflt": 3,
36023602
"editType": "none",
36033603
"min": 0,
@@ -7218,7 +7218,7 @@
72187218
}
72197219
},
72207220
"padding": {
7221-
"description": "Sets padding between edge of label and xanchor / yanchor.",
7221+
"description": "Sets padding (in px) between edge of label and xanchor / yanchor.",
72227222
"dflt": 3,
72237223
"editType": "arraydraw",
72247224
"min": 0,

0 commit comments

Comments
 (0)