Skip to content

Commit

Permalink
image: update description to document the layout defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerg committed Oct 28, 2019
1 parent 2053c58 commit 2b0d3c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/traces/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ module.exports = {
animatable: false,
meta: {
description: [
'Display an image, i.e. data on a 2D regular raster.'
'Display an image, i.e. data on a 2D regular raster.',
'If only images are displayed in a subplot,',
'the y axis will be reversed (ie. `autorange: \'reversed\'`)',
'and it will have the same scale as the x axis (ie. `scaleanchor: \'x\,`)',
'in order for pixels to be rendered as squares.'
].join(' ')
}
};

0 comments on commit 2b0d3c3

Please sign in to comment.