Skip to content

Commit f4c9e6e

Browse files
committed
Fix approximate marker size padding calculation for SPLOM as well
1 parent c14ab5f commit f4c9e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/splom/calc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = function calc(gd, trace) {
7777
// use average marker size instead to speed things up.
7878
var ppad;
7979
if(hasTooManyPoints) {
80-
ppad = 2 * (opts.sizeAvg || Math.max(opts.size, 3));
80+
ppad = opts.sizeAvg || Math.max(opts.size, 3);
8181
} else {
8282
ppad = calcMarkerSize(trace, commonLength);
8383
}

0 commit comments

Comments
 (0)