Skip to content

Commit 02f8b3b

Browse files
committed
fix shapes.yref description
1 parent b268107 commit 02f8b3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/shapes/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ module.exports = templatedArray('shape', {
103103

104104
yref: extendFlat({}, annAttrs.yref, {
105105
description: [
106-
'Sets the annotation\'s y coordinate axis.',
106+
'Sets the shape\'s y coordinate axis.',
107107
axisPlaceableObjs.axisRefDescription('y', 'bottom', 'top')
108108
].join(' ')
109109
}),

test/plot-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7009,7 +7009,7 @@
70097009
"valType": "any"
70107010
},
70117011
"yref": {
7012-
"description": "Sets the annotation's y coordinate axis. If set to a y axis id (e.g. *y* or *y2*), the `y` position refers to a y coordinate. If set to *paper*, the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where *0* (*1*) corresponds to the bottom (top). If set to a y axis ID followed by *domain* (separated by a space), the position behaves like for *paper*, but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., *y2 domain* refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.",
7012+
"description": "Sets the shape's y coordinate axis. If set to a y axis id (e.g. *y* or *y2*), the `y` position refers to a y coordinate. If set to *paper*, the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where *0* (*1*) corresponds to the bottom (top). If set to a y axis ID followed by *domain* (separated by a space), the position behaves like for *paper*, but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., *y2 domain* refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.",
70137013
"editType": "calc",
70147014
"valType": "enumerated",
70157015
"values": [

0 commit comments

Comments
 (0)