@@ -2524,9 +2524,9 @@ plots.transition = function(gd, data, layout, traces, frameOpts, transitionOpts)
2524
2524
} ;
2525
2525
2526
2526
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 ;
2530
2530
2531
2531
var trace , _module , i , j ;
2532
2532
@@ -2579,7 +2579,7 @@ plots.doCalcdata = function(gd, traces) {
2579
2579
) ;
2580
2580
}
2581
2581
2582
- clearAxesCalc ( axList , fullData ) ;
2582
+ setupAxisCategories ( axList , fullData ) ;
2583
2583
2584
2584
var hasCalcTransform = false ;
2585
2585
@@ -2617,7 +2617,7 @@ plots.doCalcdata = function(gd, traces) {
2617
2617
}
2618
2618
2619
2619
// clear stuff that should recomputed in 'regular' loop
2620
- if ( hasCalcTransform ) clearAxesCalc ( axList ) ;
2620
+ if ( hasCalcTransform ) setupAxisCategories ( axList ) ;
2621
2621
2622
2622
function calci ( i , isContainer ) {
2623
2623
trace = fullData [ i ] ;
@@ -2675,7 +2675,7 @@ plots.doCalcdata = function(gd, traces) {
2675
2675
Registry . getComponentMethod ( 'errorbars' , 'calc' ) ( gd ) ;
2676
2676
} ;
2677
2677
2678
- function clearAxesCalc ( axList , fullData ) {
2678
+ function setupAxisCategories ( axList , fullData ) {
2679
2679
for ( var i = 0 ; i < axList . length ; i ++ ) {
2680
2680
var ax = axList [ i ] ;
2681
2681
ax . clearCalc ( ) ;
0 commit comments