Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad5abb6

Browse files
committed
Update deps, adapt line2d code
1 parent 8e9eaff commit ad5abb6

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

package-lock.json

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
"regl": "^1.3.1",
101101
"regl-error2d": "^2.0.3",
102102
"regl-line2d": "^3.0.1",
103-
"regl-scatter2d": "github:dy/regl-scatter2d",
104-
"regl-scattermatrix": "github:dy/regl-scattermatrix",
103+
"regl-scatter2d": "^3.0.1",
104+
"regl-splom": "^1.0.0",
105105
"right-now": "^1.0.0",
106106
"robust-orientation": "^1.1.3",
107107
"sane-topojson": "^2.0.0",

src/lib/clear_gl_canvases.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function clearGlCanvases(gd) {
2020

2121
if(fullLayout._glcanvas && fullLayout._glcanvas.size()) {
2222
fullLayout._glcanvas.each(function(d) {
23-
if(d.regl) d.regl.clear({color: true});
23+
if(d.regl) d.regl.clear({color: true, depth: true});
2424
});
2525
}
2626
};

src/traces/splom/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
'use strict';
1010

11-
var createMatrix = require('regl-scattermatrix');
11+
var createMatrix = require('regl-splom');
1212
var arrayRange = require('array-range');
1313

1414
var Registry = require('../../registry');

0 commit comments

Comments
 (0)