Skip to content

Commit a8e444a

Browse files
committed
avoid duplicate coercion
1 parent 9939241 commit a8e444a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/traces/parcoords/defaults.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ function dimensionsDefaults(traceIn, traceOut) {
8282
}
8383

8484
function coerceFont(fontAttr, coerce, layoutFont, defaultFont) {
85-
var fontSpec = Lib.coerceFont(coerce, fontAttr);
86-
Lib.coerceFont(coerce, fontAttr, Lib.extendFlat({}, layoutFont, defaultFont, fontSpec));
85+
Lib.coerceFont(coerce, fontAttr, Lib.extendFlat({}, layoutFont, defaultFont, fontAttr));
8786
}
8887

8988
module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout) {

0 commit comments

Comments
 (0)