@@ -3203,26 +3203,25 @@ axes.drawLabels = function(gd, ax, opts) {
32033203 } ) ;
32043204 }
32053205
3206- if ( ! axisIds . isLinked ( fullLayout , ax . _id ) ) {
3207- var anchorAx = ax . _anchorAxis ;
3208- if (
3209- anchorAx && anchorAx . autorange &&
3210- ( ax . ticklabelposition || '' ) . indexOf ( 'inside' ) !== - 1
3211- ) {
3212- if ( ! fullLayout . _insideTickLabelsAutorange ) {
3213- fullLayout . _insideTickLabelsAutorange = { } ;
3214- }
3215- fullLayout . _insideTickLabelsAutorange [ anchorAx . _name + '.autorange' ] = anchorAx . autorange ;
3216-
3217- seq . push (
3218- function computeFinalTickLabelBoundingBoxes ( ) {
3219- tickLabels . each ( function ( d , i ) {
3220- var thisLabel = selectTickLabel ( this ) ;
3221- ax . _vals [ i ] . bb = Drawing . bBox ( thisLabel . node ( ) ) ;
3222- } ) ;
3223- }
3224- ) ;
3206+ var anchorAx = ax . _anchorAxis ;
3207+ if (
3208+ anchorAx && anchorAx . autorange &&
3209+ ( ax . ticklabelposition || '' ) . indexOf ( 'inside' ) !== - 1 &&
3210+ ! axisIds . isLinked ( fullLayout , ax . _id )
3211+ ) {
3212+ if ( ! fullLayout . _insideTickLabelsAutorange ) {
3213+ fullLayout . _insideTickLabelsAutorange = { } ;
32253214 }
3215+ fullLayout . _insideTickLabelsAutorange [ anchorAx . _name + '.autorange' ] = anchorAx . autorange ;
3216+
3217+ seq . push (
3218+ function computeFinalTickLabelBoundingBoxes ( ) {
3219+ tickLabels . each ( function ( d , i ) {
3220+ var thisLabel = selectTickLabel ( this ) ;
3221+ ax . _vals [ i ] . bb = Drawing . bBox ( thisLabel . node ( ) ) ;
3222+ } ) ;
3223+ }
3224+ ) ;
32263225 }
32273226
32283227 var done = Lib . syncOrAsync ( seq ) ;
0 commit comments