Skip to content

Commit 52ba9de

Browse files
committed
update angleref & schema
1 parent 09eecfc commit 52ba9de

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/traces/box/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ module.exports = {
313313
opacity: extendFlat({}, scatterMarkerAttrs.opacity,
314314
{arrayOk: false, dflt: 1, editType: 'style'}),
315315
angle: extendFlat({}, scatterMarkerAttrs.angle,
316-
{arrayOk: false, editType: 'calc'}), // TODO: arrayOk angle might be useful for certain box & violin graphs, No?
316+
{arrayOk: false, editType: 'calc'}),
317317
size: extendFlat({}, scatterMarkerAttrs.size,
318318
{arrayOk: false, editType: 'calc'}),
319319
color: extendFlat({}, scatterMarkerAttrs.color,

src/traces/scatter/attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,8 @@ module.exports = {
409409
anim: false,
410410
description: [
411411
'Sets the reference for marker angle.',
412-
'With *previous* the angles are based on the previous position of points on a line.',
413-
'With *up* the angles are based on the current positions of points towards up.',
412+
'With *previous*, angle 0 points along the line from the previous point to this one.',
413+
'With *up*, angle 0 points toward the top of the screen.'
414414
].join(' ')
415415
},
416416
standoff: {

test/plot-schema.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43345,7 +43345,7 @@
4334543345
},
4334643346
"angleref": {
4334743347
"anim": false,
43348-
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
43348+
"description": "Sets the reference for marker angle. With *previous*, angle 0 points along the line from the previous point to this one. With *up*, angle 0 points toward the top of the screen.",
4334943349
"dflt": "up",
4335043350
"editType": "plot",
4335143351
"valType": "enumerated",
@@ -47623,7 +47623,7 @@
4762347623
"valType": "number"
4762447624
},
4762547625
"angleref": {
47626-
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
47626+
"description": "Sets the reference for marker angle. With *previous*, angle 0 points along the line from the previous point to this one. With *up*, angle 0 points toward the top of the screen.",
4762747627
"dflt": "up",
4762847628
"editType": "plot",
4762947629
"valType": "enumerated",
@@ -49507,7 +49507,7 @@
4950749507
"valType": "number"
4950849508
},
4950949509
"angleref": {
49510-
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up. With *north* the angles are based on the current positions of points towards north.",
49510+
"description": "Sets the reference for marker angle. With *previous*, angle 0 points along the line from the previous point to this one. With *up*, angle 0 points toward the top of the screen. With *north*, angle 0 points north based on the current map projection.",
4951149511
"dflt": "up",
4951249512
"editType": "calc",
4951349513
"valType": "enumerated",
@@ -54633,7 +54633,7 @@
5463354633
"valType": "number"
5463454634
},
5463554635
"angleref": {
54636-
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
54636+
"description": "Sets the reference for marker angle. With *previous*, angle 0 points along the line from the previous point to this one. With *up*, angle 0 points toward the top of the screen.",
5463754637
"dflt": "up",
5463854638
"editType": "plot",
5463954639
"valType": "enumerated",
@@ -58361,7 +58361,7 @@
5836158361
"valType": "number"
5836258362
},
5836358363
"angleref": {
58364-
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
58364+
"description": "Sets the reference for marker angle. With *previous*, angle 0 points along the line from the previous point to this one. With *up*, angle 0 points toward the top of the screen.",
5836558365
"dflt": "up",
5836658366
"editType": "plot",
5836758367
"valType": "enumerated",
@@ -60251,7 +60251,7 @@
6025160251
"valType": "number"
6025260252
},
6025360253
"angleref": {
60254-
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
60254+
"description": "Sets the reference for marker angle. With *previous*, angle 0 points along the line from the previous point to this one. With *up*, angle 0 points toward the top of the screen.",
6025560255
"dflt": "up",
6025660256
"editType": "plot",
6025760257
"valType": "enumerated",

0 commit comments

Comments
 (0)