@@ -661,7 +661,6 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
661661 // updateSubplots - find all plot viewboxes that should be
662662 // affected by this drag, and update them. look for all plots
663663 // sharing an affected axis (including the one being dragged)
664- // returns all the new axis ranges as an update object
665664 function updateSubplots ( viewBox ) {
666665 var plotinfos = fullLayout . _plots ;
667666 var subplots = Object . keys ( plotinfos ) ;
@@ -672,8 +671,6 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
672671
673672 var i , xScaleFactor2 , yScaleFactor2 , clipDx , clipDy ;
674673
675- var attrs = { } ;
676-
677674 // Find the appropriate scaling for this axis, if it's linked to the
678675 // dragged axes by constraints. 0 is special, it means this axis shouldn't
679676 // 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) {
693690 if ( scaleFactor ) {
694691 ax . range = ax . _r . slice ( ) ;
695692 scaleZoom ( ax , scaleFactor ) ;
696- attrs [ ax . _name + '.range' ] = ax . range . slice ( ) ;
697693 return getShift ( ax , scaleFactor ) ;
698694 }
699695 return 0 ;
@@ -759,8 +755,6 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
759755 . selectAll ( '.points' ) . selectAll ( '.textpoint' )
760756 . call ( Drawing . setTextPointsScale , xScaleFactor2 , yScaleFactor2 ) ;
761757 }
762-
763- return attrs ;
764758 }
765759
766760 return dragger ;
0 commit comments