Skip to content

Commit 11e05a1

Browse files
committedMar 21, 2024··
Fix descriptions for shapes.layer and newshape.layer
1 parent 70ebe72 commit 11e05a1

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed
 

‎src/components/shapes/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ module.exports = templatedArray('shape', {
116116
description: [
117117
'Specifies whether shapes are drawn below gridlines (*below*),',
118118
'between gridlines and traces (*between*) or above traces (*above*).'
119-
]
119+
].join(' ')
120120
},
121121

122122
xref: extendFlat({}, annAttrs.xref, {

‎src/components/shapes/draw_newshape/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module.exports = overrideAll({
122122
description: [
123123
'Specifies whether new shapes are drawn below gridlines (*below*),',
124124
'between gridlines and traces (*between*) or above traces (*above*).'
125-
]
125+
].join(' ')
126126
},
127127
drawdirection: {
128128
valType: 'enumerated',

‎test/plot-schema.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -3720,10 +3720,7 @@
37203720
}
37213721
},
37223722
"layer": {
3723-
"description": [
3724-
"Specifies whether new shapes are drawn below gridlines (*below*),",
3725-
"between gridlines and traces (*between*) or above traces (*above*)."
3726-
],
3723+
"description": "Specifies whether new shapes are drawn below gridlines (*below*), between gridlines and traces (*between*) or above traces (*above*).",
37273724
"dflt": "above",
37283725
"editType": "none",
37293726
"valType": "enumerated",
@@ -7712,10 +7709,7 @@
77127709
}
77137710
},
77147711
"layer": {
7715-
"description": [
7716-
"Specifies whether shapes are drawn below gridlines (*below*),",
7717-
"between gridlines and traces (*between*) or above traces (*above*)."
7718-
],
7712+
"description": "Specifies whether shapes are drawn below gridlines (*below*), between gridlines and traces (*between*) or above traces (*above*).",
77197713
"dflt": "above",
77207714
"editType": "arraydraw",
77217715
"valType": "enumerated",

0 commit comments

Comments
 (0)
Please sign in to comment.