Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 87b6741

Browse filesBrowse files
committed
replace plotly/d3 v3 with d3 v4
- add d3.round from v3 - add d3.rebind from v3 - add d3-selection-multi methods to d3 object
1 parent 99e66ad commit 87b6741
Copy full SHA for 87b6741

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

97 files changed

+513
-104
lines changed

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+294-5Lines changed: 294 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
]
6767
},
6868
"dependencies": {
69-
"@plotly/d3": "3.8.0",
7069
"@plotly/d3-sankey": "0.7.2",
7170
"@plotly/d3-sankey-circular": "0.33.1",
7271
"@plotly/point-cluster": "^3.1.9",
@@ -81,6 +80,7 @@
8180
"color-rgba": "2.1.1",
8281
"convex-hull": "^1.0.3",
8382
"country-regex": "^1.1.0",
83+
"d3": "^4.13.0",
8484
"d3-force": "^1.2.1",
8585
"d3-format": "^1.4.5",
8686
"d3-geo": "^1.12.1",

‎src/components/annotations/draw.js

Copy file name to clipboardExpand all lines: src/components/annotations/draw.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var d3 = require('@plotly/d3');
3+
var d3 = require('../../lib/d3');
44

55
var Registry = require('../../registry');
66
var Plots = require('../../plots/plots');

‎src/components/annotations/draw_arrow_head.js

Copy file name to clipboardExpand all lines: src/components/annotations/draw_arrow_head.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var d3 = require('@plotly/d3');
3+
var d3 = require('../../lib/d3');
44

55
var Color = require('../color');
66

‎src/components/colorbar/draw.js

Copy file name to clipboardExpand all lines: src/components/colorbar/draw.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var d3 = require('@plotly/d3');
3+
var d3 = require('../../lib/d3');
44
var tinycolor = require('tinycolor2');
55

66
var Plots = require('../../plots/plots');

‎src/components/colorscale/helpers.js

Copy file name to clipboardExpand all lines: src/components/colorscale/helpers.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var d3 = require('@plotly/d3');
3+
var d3 = require('../../lib/d3');
44
var tinycolor = require('tinycolor2');
55
var isNumeric = require('fast-isnumeric');
66

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.