Skip to content

Commit d5e53d9

Browse files
committed
revise selections.path description
1 parent 4138cf0 commit d5e53d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/selections/attributes.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ module.exports = overrideAll(templatedArray('selection', {
5858
valType: 'string',
5959
editType: 'arraydraw',
6060
description: [
61-
'For `type` *path* - a valid SVG path with the pixel values similar to `shapes.path`.'
61+
'For `type` *path* - a valid SVG path similar to `shapes.path` in data coordinates.',
62+
'Allowed segments are: M, L and Z.'
6263
].join(' ')
6364
},
6465

test/plot-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6947,7 +6947,7 @@
69476947
"valType": "number"
69486948
},
69496949
"path": {
6950-
"description": "For `type` *path* - a valid SVG path with the pixel values similar to `shapes.path`.",
6950+
"description": "For `type` *path* - a valid SVG path similar to `shapes.path` in data coordinates. Allowed segments are: M, L and Z.",
69516951
"editType": "arraydraw",
69526952
"valType": "string"
69536953
},

0 commit comments

Comments
 (0)