Skip to content

Commit 948809b

Browse files
committed
adjust asterisks for new attributes shift & autoshift
1 parent b89f59a commit 948809b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ module.exports = {
10111011
'Automatically reposition the axis to avoid',
10121012
'overlap with other axes with the same `overlaying` value.',
10131013
'This repositioning will account for any `shift` amount applied to other',
1014-
'axes on the same side with `autoshift` is set to *true*.',
1014+
'axes on the same side with `autoshift` is set to true.',
10151015
'Only has an effect if `anchor` is set to *free*.',
10161016
].join(' ')
10171017
},
@@ -1022,8 +1022,8 @@ module.exports = {
10221022
'Moves the axis a given number of pixels from where it would have been otherwise.',
10231023
'Accepts both positive and negative values, which will shift the axis either right',
10241024
'or left, respectively.',
1025-
'If `autoshift` is set to *true*, then this defaults to a padding of *-3* if `side` is set to *left.',
1026-
'and defaults to *+3* if `side` is set to *right*. Defaults to *0* if `autoshift` is set to *false*.',
1025+
'If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to *left*.',
1026+
'and defaults to +3 if `side` is set to *right*. Defaults to 0 if `autoshift` is set to false.',
10271027
'Only has an effect if `anchor` is set to *free*.'
10281028
].join(' ')
10291029
},

test/plot-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11228,7 +11228,7 @@
1122811228
]
1122911229
},
1123011230
"autoshift": {
11231-
"description": "Automatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to *true*. Only has an effect if `anchor` is set to *free*.",
11231+
"description": "Automatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to true. Only has an effect if `anchor` is set to *free*.",
1123211232
"dflt": false,
1123311233
"editType": "plot",
1123411234
"valType": "boolean"
@@ -11739,7 +11739,7 @@
1173911739
"valType": "boolean"
1174011740
},
1174111741
"shift": {
11742-
"description": "Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to *true*, then this defaults to a padding of *-3* if `side` is set to *left. and defaults to *+3* if `side` is set to *right*. Defaults to *0* if `autoshift` is set to *false*. Only has an effect if `anchor` is set to *free*.",
11742+
"description": "Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to *left*. and defaults to +3 if `side` is set to *right*. Defaults to 0 if `autoshift` is set to false. Only has an effect if `anchor` is set to *free*.",
1174311743
"editType": "plot",
1174411744
"valType": "number"
1174511745
},

0 commit comments

Comments
 (0)