Skip to content

Commit c42acb8

Browse files
authored
Update parcoords.js
in `color-rgba` v3, it uses ES module.
1 parent cf33df5 commit c42acb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/parcoords/parcoords.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var d3 = require('@plotly/d3');
44
var Lib = require('../../lib');
55
var isArrayOrTypedArray = Lib.isArrayOrTypedArray;
66
var numberFormat = Lib.numberFormat;
7-
var rgba = require('color-rgba');
7+
var rgba = require('color-rgba').default;
88

99
var Axes = require('../../plots/cartesian/axes');
1010
var strRotate = Lib.strRotate;

0 commit comments

Comments
 (0)