Skip to content

Commit b8e5f52

Browse files
committed
un-expose initCategories from Plots
1 parent 7a2a2e1 commit b8e5f52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plots/plots.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@ plots.doCalcdata = function(gd, traces) {
20032003
}
20042004
}
20052005

2006-
var hasCategoryAxis = plots.initCategories(axList);
2006+
var hasCategoryAxis = initCategories(axList);
20072007

20082008
var hasCalcTransform = false;
20092009

@@ -2039,7 +2039,7 @@ plots.doCalcdata = function(gd, traces) {
20392039
axList[i]._categories = [];
20402040
axList[i]._categoriesMap = {};
20412041
}
2042-
plots.initCategories(axList);
2042+
initCategories(axList);
20432043
}
20442044

20452045
// 'regular' loop
@@ -2085,7 +2085,7 @@ plots.doCalcdata = function(gd, traces) {
20852085
}
20862086
};
20872087

2088-
plots.initCategories = function(axList) {
2088+
function initCategories(axList) {
20892089
var hasCategoryAxis = false;
20902090

20912091
// initialize the category list, if there is one, so we start over
@@ -2103,7 +2103,7 @@ plots.initCategories = function(axList) {
21032103
}
21042104

21052105
return hasCategoryAxis;
2106-
};
2106+
}
21072107

21082108
plots.rehover = function(gd) {
21092109
if(gd._fullLayout._rehover) {

0 commit comments

Comments
 (0)