Skip to content

Commit 1303a5b

Browse files
committed
base_plot PR feedback
1 parent 877aeae commit 1303a5b

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/traces/parcoords/base_plot.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,15 @@
1010

1111
var d3 = require('d3');
1212
var Plots = require('../../plots/plots');
13-
var Registry = require('../../registry');
13+
var parcoordsPlot = require('./plot');
1414
var xmlnsNamespaces = require('../../constants/xmlns_namespaces');
1515

1616
exports.name = 'parcoords';
1717

18-
exports.attr = 'parcoords';
19-
20-
exports.idRoot = 'parcoords';
21-
22-
exports.idRegex = /^parcoords([2-9]|[1-9][0-9]+)?$/;
23-
24-
exports.attrRegex = /^parcoords([2-9]|[1-9][0-9]+)?$/;
25-
2618
exports.plot = function(gd) {
27-
var Parcoords = Registry.getModule('parcoords');
2819
var calcData = Plots.getSubplotCalcData(gd.calcdata, 'parcoords', void(0));
2920

30-
if(calcData.length) Parcoords.plot(gd, calcData);
21+
if(calcData.length) parcoordsPlot(gd, calcData);
3122
};
3223

3324
exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout) {

0 commit comments

Comments
 (0)