Skip to content

Commit d7fd65c

Browse files
committed
Revert "inline d3.round in drawing/symbol_defs.js"
This reverts commit e10ab24.
1 parent acff993 commit d7fd65c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/drawing/symbol_defs.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
'use strict';
22

33
var parseSvgPath = require('parse-svg-path');
4-
var round = // require('@plotly/d3').round;
5-
function(x, n) {
6-
return n ? Math.round(x * (n = Math.pow(10, n))) / n : Math.round(x);
7-
};
4+
var round = require('@plotly/d3').round;
85

96
/** Marker symbol definitions
107
* users can specify markers either by number or name

0 commit comments

Comments
 (0)