Skip to content

Commit

Permalink
disable transforms from image trace
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Oct 29, 2019
1 parent fbfadbe commit e6440ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/traces/image/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,7 @@ module.exports = extendFlat({
}),
hovertemplate: hovertemplateAttrs({}, {
keys: ['z', 'color', 'colormodel']
})
}),

transforms: undefined
});
2 changes: 2 additions & 0 deletions src/traces/image/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ module.exports = function supplyDefaults(traceIn, traceOut) {
coerce('text');
coerce('hovertext');
coerce('hovertemplate');

traceOut._length = null;
};

0 comments on commit e6440ea

Please sign in to comment.