Skip to content

Commit

Permalink
Fix descriptions for shapes.layer and newshape.layer
Browse files Browse the repository at this point in the history
  • Loading branch information
my-tien committed Mar 21, 2024
1 parent 70ebe72 commit 11e05a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/shapes/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module.exports = templatedArray('shape', {
description: [
'Specifies whether shapes are drawn below gridlines (*below*),',
'between gridlines and traces (*between*) or above traces (*above*).'
]
].join(' ')
},

xref: extendFlat({}, annAttrs.xref, {
Expand Down
2 changes: 1 addition & 1 deletion src/components/shapes/draw_newshape/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module.exports = overrideAll({
description: [
'Specifies whether new shapes are drawn below gridlines (*below*),',
'between gridlines and traces (*between*) or above traces (*above*).'
]
].join(' ')
},
drawdirection: {
valType: 'enumerated',
Expand Down
10 changes: 2 additions & 8 deletions test/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3720,10 +3720,7 @@
}
},
"layer": {
"description": [
"Specifies whether new shapes are drawn below gridlines (*below*),",
"between gridlines and traces (*between*) or above traces (*above*)."
],
"description": "Specifies whether new shapes are drawn below gridlines (*below*), between gridlines and traces (*between*) or above traces (*above*).",
"dflt": "above",
"editType": "none",
"valType": "enumerated",
Expand Down Expand Up @@ -7712,10 +7709,7 @@
}
},
"layer": {
"description": [
"Specifies whether shapes are drawn below gridlines (*below*),",
"between gridlines and traces (*between*) or above traces (*above*)."
],
"description": "Specifies whether shapes are drawn below gridlines (*below*), between gridlines and traces (*between*) or above traces (*above*).",
"dflt": "above",
"editType": "arraydraw",
"valType": "enumerated",
Expand Down

0 comments on commit 11e05a1

Please sign in to comment.