Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39c32d0 commit 489513bCopy full SHA for 489513b
src/plots/plots.js
@@ -19,14 +19,8 @@ var Color = require('../components/color');
19
20
var plots = module.exports = {};
21
22
-// Expose registry methods that used to be on Plots for backward-compatibility
23
-plots.modules = Registry.modules;
24
-plots.allTypes = Registry.allTypes;
25
-plots.allCategories = Registry.allCategories;
26
-plots.subplotsRegistry = Registry.subplotsRegistry;
27
-plots.transformsRegistry = Registry.transformsRegistry;
28
-plots.traceIs = Registry.traceIs;
29
-plots.getModule = Registry.getModule;
+// Expose registry methods on Plots for backward-compatibility
+Lib.extendFlat(plots, Registry);
30
31
plots.attributes = require('./attributes');
32
plots.attributes.type.values = plots.allTypes;
0 commit comments