@@ -1602,15 +1602,13 @@ axes.findSubplotsWithAxis = function(subplots, ax) {
1602
1602
1603
1603
// makeClipPaths: prepare clipPaths for all single axes and all possible xy pairings
1604
1604
axes . 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 ;
1614
1612
1615
1613
for ( i = 0 ; i < xaList . length ; i ++ ) {
1616
1614
clipList . push ( { x : xaList [ i ] , y : fullHeight } ) ;
@@ -1643,7 +1641,6 @@ axes.makeClipPaths = function(gd) {
1643
1641
} ) ;
1644
1642
} ;
1645
1643
1646
-
1647
1644
// doTicks: draw ticks, grids, and tick labels
1648
1645
// axid: 'x', 'y', 'x2' etc,
1649
1646
// blank to do all,
0 commit comments