@@ -1602,15 +1602,13 @@ axes.findSubplotsWithAxis = function(subplots, ax) {
16021602
16031603// makeClipPaths: prepare clipPaths for all single axes and all possible xy pairings
16041604axes . makeClipPaths = function ( gd ) {
1605- var fullLayout = gd . _fullLayout ,
1606- defs = fullLayout . _defs ,
1607- fullWidth = { _offset : 0 , _length : fullLayout . width , _id : '' } ,
1608- fullHeight = { _offset : 0 , _length : fullLayout . height , _id : '' } ,
1609- xaList = axes . list ( gd , 'x' , true ) ,
1610- yaList = axes . list ( gd , 'y' , true ) ,
1611- clipList = [ ] ,
1612- i ,
1613- j ;
1605+ var fullLayout = gd . _fullLayout ;
1606+ var fullWidth = { _offset : 0 , _length : fullLayout . width , _id : '' } ;
1607+ var fullHeight = { _offset : 0 , _length : fullLayout . height , _id : '' } ;
1608+ var xaList = axes . list ( gd , 'x' , true ) ;
1609+ var yaList = axes . list ( gd , 'y' , true ) ;
1610+ var clipList = [ ] ;
1611+ var i , j ;
16141612
16151613 for ( i = 0 ; i < xaList . length ; i ++ ) {
16161614 clipList . push ( { x : xaList [ i ] , y : fullHeight } ) ;
@@ -1643,7 +1641,6 @@ axes.makeClipPaths = function(gd) {
16431641 } ) ;
16441642} ;
16451643
1646-
16471644// doTicks: draw ticks, grids, and tick labels
16481645// axid: 'x', 'y', 'x2' etc,
16491646// blank to do all,
0 commit comments