We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85bc5e4 commit 0510f2fCopy full SHA for 0510f2f
src/traces/heatmap/calc.js
@@ -109,10 +109,10 @@ module.exports = function calc(gd, trace) {
109
if(zsmooth === 'fast') {
110
noZsmooth('log axis found');
111
}
112
- } else if(!scaleIsLinear(x) || !scaleIsLinear(y)) {
113
- if(zsmooth === 'fast') {
114
- noZsmooth('x/y scale is not linear');
115
- }
+ } else if(!scaleIsLinear(x)) {
+ if(zsmooth === 'fast') noZsmooth('x scale is not linear');
+ } else if(!scaleIsLinear(y)) {
+ if(zsmooth === 'fast') noZsmooth('y scale is not linear');
116
} else {
117
trace._islinear = true;
118
0 commit comments