Skip to content

Commit 5b490f7

Browse files
committed
rename clearAxesCalc -> setupAxisCategories
1 parent 7e4c85a commit 5b490f7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/plots/plots.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -2524,9 +2524,9 @@ plots.transition = function(gd, data, layout, traces, frameOpts, transitionOpts)
25242524
};
25252525

25262526
plots.doCalcdata = function(gd, traces) {
2527-
var axList = axisIDs.list(gd),
2528-
fullData = gd._fullData,
2529-
fullLayout = gd._fullLayout;
2527+
var axList = axisIDs.list(gd);
2528+
var fullData = gd._fullData;
2529+
var fullLayout = gd._fullLayout;
25302530

25312531
var trace, _module, i, j;
25322532

@@ -2579,7 +2579,7 @@ plots.doCalcdata = function(gd, traces) {
25792579
);
25802580
}
25812581

2582-
clearAxesCalc(axList, fullData);
2582+
setupAxisCategories(axList, fullData);
25832583

25842584
var hasCalcTransform = false;
25852585

@@ -2617,7 +2617,7 @@ plots.doCalcdata = function(gd, traces) {
26172617
}
26182618

26192619
// clear stuff that should recomputed in 'regular' loop
2620-
if(hasCalcTransform) clearAxesCalc(axList);
2620+
if(hasCalcTransform) setupAxisCategories(axList);
26212621

26222622
function calci(i, isContainer) {
26232623
trace = fullData[i];
@@ -2675,7 +2675,7 @@ plots.doCalcdata = function(gd, traces) {
26752675
Registry.getComponentMethod('errorbars', 'calc')(gd);
26762676
};
26772677

2678-
function clearAxesCalc(axList, fullData) {
2678+
function setupAxisCategories(axList, fullData) {
26792679
for(var i = 0; i < axList.length; i++) {
26802680
var ax = axList[i];
26812681
ax.clearCalc();

0 commit comments

Comments
 (0)