Skip to content

Commit 34722d3

Browse files
committed
mention that 'width' is in data coordinates
1 parent f5ba38c commit 34722d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/traces/box/attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ module.exports = {
179179
dflt: 0,
180180
editType: 'calc',
181181
description: [
182-
'Sets the width of the box.',
182+
'Sets the width of the box in data coordinate',
183183
'If *0* (default value) the width is automatically selected based on the positions',
184-
'of other box traces in the same subplot.',
184+
'of other box traces in the same subplot.'
185185
].join(' ')
186186
},
187187

src/traces/violin/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ module.exports = {
138138

139139
width: extendFlat({}, boxAttrs.width, {
140140
description: [
141-
'Sets the width of the violin.',
141+
'Sets the width of the violin in data coordinates.',
142142
'If *0* (default value) the width is automatically selected based on the positions',
143143
'of other violin traces in the same subplot.',
144144
].join(' ')

0 commit comments

Comments
 (0)