Skip to content

Commit 44b7677

Browse files
committed
rename Plots.doSetPositions -> Plots.doCrossTraceCalc
1 parent 6226cea commit 44b7677

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: src/plot_api/plot_api.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ exports.plot = function(gd, data, layout, config) {
292292
return;
293293
}
294294

295-
Plots.doSetPositions(gd);
295+
Plots.doCrossTraceCalc(gd);
296296

297297
// calc and autorange for errorbars
298298
Registry.getComponentMethod('errorbars', 'calc')(gd);
@@ -331,7 +331,7 @@ exports.plot = function(gd, data, layout, config) {
331331
];
332332

333333
if(hasCartesian) seq.push(positionAndAutorange);
334-
else seq.push(Plots.doSetPositions);
334+
else seq.push(Plots.doCrossTraceCalc);
335335

336336
seq.push(subroutines.layoutStyles);
337337
if(hasCartesian) seq.push(drawAxes);

Diff for: src/plots/plots.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2236,7 +2236,7 @@ plots.transition = function(gd, data, layout, traces, frameOpts, transitionOpts)
22362236

22372237
plots.supplyDefaults(gd);
22382238
plots.doCalcdata(gd);
2239-
plots.doSetPositions(gd);
2239+
plots.doCrossTraceCalc(gd);
22402240
Registry.getComponentMethod('errorbars', 'calc')(gd);
22412241

22422242
return Promise.resolve();
@@ -2564,7 +2564,7 @@ function clearAxesCalc(axList) {
25642564
}
25652565
}
25662566

2567-
plots.doSetPositions = function(gd) {
2567+
plots.doCrossTraceCalc = function(gd) {
25682568
var fullLayout = gd._fullLayout;
25692569
var modules = fullLayout._visibleModules;
25702570
var hash = {};

0 commit comments

Comments
 (0)