Skip to content

Commit

Permalink
un-expose initCategories from Plots
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed May 15, 2017
1 parent 7a2a2e1 commit b8e5f52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plots/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -2003,7 +2003,7 @@ plots.doCalcdata = function(gd, traces) {
}
}

var hasCategoryAxis = plots.initCategories(axList);
var hasCategoryAxis = initCategories(axList);

var hasCalcTransform = false;

Expand Down Expand Up @@ -2039,7 +2039,7 @@ plots.doCalcdata = function(gd, traces) {
axList[i]._categories = [];
axList[i]._categoriesMap = {};
}
plots.initCategories(axList);
initCategories(axList);
}

// 'regular' loop
Expand Down Expand Up @@ -2085,7 +2085,7 @@ plots.doCalcdata = function(gd, traces) {
}
};

plots.initCategories = function(axList) {
function initCategories(axList) {
var hasCategoryAxis = false;

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

return hasCategoryAxis;
};
}

plots.rehover = function(gd) {
if(gd._fullLayout._rehover) {
Expand Down

0 comments on commit b8e5f52

Please sign in to comment.