We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7fd65c commit 935be96Copy full SHA for 935be96
src/components/drawing/symbol_defs.js
@@ -1,7 +1,10 @@
1
'use strict';
2
3
var parseSvgPath = require('parse-svg-path');
4
-var round = require('@plotly/d3').round;
+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
+ };
8
9
/** Marker symbol definitions
10
* users can specify markers either by number or name
0 commit comments