Skip to content

Commit

Permalink
rename Plots.doSetPositions -> Plots.doCrossTraceCalc
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Aug 3, 2018
1 parent 6226cea commit 44b7677
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/plot_api/plot_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ exports.plot = function(gd, data, layout, config) {
return;
}

Plots.doSetPositions(gd);
Plots.doCrossTraceCalc(gd);

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

if(hasCartesian) seq.push(positionAndAutorange);
else seq.push(Plots.doSetPositions);
else seq.push(Plots.doCrossTraceCalc);

seq.push(subroutines.layoutStyles);
if(hasCartesian) seq.push(drawAxes);
Expand Down
4 changes: 2 additions & 2 deletions src/plots/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ plots.transition = function(gd, data, layout, traces, frameOpts, transitionOpts)

plots.supplyDefaults(gd);
plots.doCalcdata(gd);
plots.doSetPositions(gd);
plots.doCrossTraceCalc(gd);
Registry.getComponentMethod('errorbars', 'calc')(gd);

return Promise.resolve();
Expand Down Expand Up @@ -2564,7 +2564,7 @@ function clearAxesCalc(axList) {
}
}

plots.doSetPositions = function(gd) {
plots.doCrossTraceCalc = function(gd) {
var fullLayout = gd._fullLayout;
var modules = fullLayout._visibleModules;
var hash = {};
Expand Down

0 comments on commit 44b7677

Please sign in to comment.