Skip to content

Commit 3049e72

Browse files
Update src/traces/image/attributes.js
Co-authored-by: Alex Johnson <[email protected]>
1 parent 1623b11 commit 3049e72

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/traces/image/attributes.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,14 @@ module.exports = extendFlat({
9494
valType: 'any',
9595
dflt: 0,
9696
editType: 'calc+clearAxisTypes',
97-
description: 'Set the image\'s y position. The bottom left corner of the image will be found at y0-dy/2'
97+
description: [
98+
'Set the image\'s y position. The top edge of the image',
99+
'(or the bottom edge if the y axis is NOT reversed or if dy is negative)',
100+
'will be found at ymin=y0-dy/2. By default when an image trace is',
101+
'included, the y axis will be reversed so that the image is right-side-up,',
102+
'but you can disable this by setting yaxis.autorange=true or by providing',
103+
'an explicit y axis range.'
104+
].join(' ')
98105
},
99106
dx: {
100107
valType: 'number',

0 commit comments

Comments
 (0)