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 7721e25 commit 119eafeCopy full SHA for 119eafe
src/traces/violin/calc.js
@@ -39,7 +39,7 @@ module.exports = function calc(gd, trace) {
39
// step that well covers the bandwidth and is multiple of span distance
40
var dist = span[1] - span[0];
41
var n = Math.ceil(dist / (bandwidth / 3));
42
- var step = dist/ n;
+ var step = dist / n;
43
44
if(!isFinite(step) || !isFinite(n)) {
45
Lib.error('Something went wrong with computing the violin span');
0 commit comments