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

Skip to content

Commit 1c41c2e

Browse files
committed
rm (now useless) trace module layoutCategories
1 parent f476e05 commit 1c41c2e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/plots/plots.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,6 @@ function hasPlotType(category) {
540540
var _module = modules[i];
541541

542542
if(_module.basePlotModule.name === category) return true;
543-
544-
var layoutCategories = _module.layoutCategories || [];
545-
if(layoutCategories.indexOf(category) !== -1) return true;
546543
}
547544

548545
return false;

src/traces/pie/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Pie.moduleType = 'trace';
2323
Pie.name = 'pie';
2424
Pie.basePlotModule = require('./base_plot');
2525
Pie.categories = ['pie', 'showLegend'];
26-
Pie.layoutCategories = ['pie'];
2726
Pie.meta = {
2827
description: [
2928
'A data visualized by the sectors of the pie is set in `values`.',

0 commit comments

Comments
 (0)