@@ -661,7 +661,6 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
661
661
// updateSubplots - find all plot viewboxes that should be
662
662
// affected by this drag, and update them. look for all plots
663
663
// sharing an affected axis (including the one being dragged)
664
- // returns all the new axis ranges as an update object
665
664
function updateSubplots ( viewBox ) {
666
665
var plotinfos = fullLayout . _plots ;
667
666
var subplots = Object . keys ( plotinfos ) ;
@@ -672,8 +671,6 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
672
671
673
672
var i , xScaleFactor2 , yScaleFactor2 , clipDx , clipDy ;
674
673
675
- var attrs = { } ;
676
-
677
674
// Find the appropriate scaling for this axis, if it's linked to the
678
675
// dragged axes by constraints. 0 is special, it means this axis shouldn't
679
676
// ever be scaled (will be converted to 1 if the other axis is scaled)
@@ -693,7 +690,6 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
693
690
if ( scaleFactor ) {
694
691
ax . range = ax . _r . slice ( ) ;
695
692
scaleZoom ( ax , scaleFactor ) ;
696
- attrs [ ax . _name + '.range' ] = ax . range . slice ( ) ;
697
693
return getShift ( ax , scaleFactor ) ;
698
694
}
699
695
return 0 ;
@@ -759,8 +755,6 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
759
755
. selectAll ( '.points' ) . selectAll ( '.textpoint' )
760
756
. call ( Drawing . setTextPointsScale , xScaleFactor2 , yScaleFactor2 ) ;
761
757
}
762
-
763
- return attrs ;
764
758
}
765
759
766
760
return dragger ;
0 commit comments