We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c85981 commit 627f24bCopy full SHA for 627f24b
src/traces/histogram2d/sample_defaults.js
@@ -20,7 +20,7 @@ module.exports = function handleSampleDefaults(traceIn, traceOut, coerce, layout
20
// we could try to accept x0 and dx, etc...
21
// but that's a pretty weird use case.
22
// for now require both x and y explicitly specified.
23
- if(!(x && xlen && y && ylen)) {
+ if(!xlen || !ylen) {
24
traceOut.visible = false;
25
return;
26
}
0 commit comments