@@ -3305,7 +3305,7 @@ def _set_view(self, view):
33053305 self .set_xlim ((xmin , xmax ))
33063306 self .set_ylim ((ymin , ymax ))
33073307
3308- def _set_view_from_bbox (self , bbox , original_view , direction = 'in' ,
3308+ def _set_view_from_bbox (self , bbox , direction = 'in' ,
33093309 mode = None , twinx = False , twiny = False ):
33103310 """
33113311 Update view from a selection bbox.
@@ -3321,10 +3321,6 @@ def _set_view_from_bbox(self, bbox, original_view, direction='in',
33213321 bbox : tuple
33223322 The selected bounding box limits, in *display* coordinates.
33233323
3324- original_view : any
3325- A view saved from before initiating the selection, the result of
3326- calling :meth:`_get_view`.
3327-
33283324 direction : str
33293325 The direction to apply the bounding box.
33303326 * `'in'` - The bounding box describes the view directly, i.e.,
@@ -3345,8 +3341,6 @@ def _set_view_from_bbox(self, bbox, original_view, direction='in',
33453341
33463342 lastx , lasty , x , y = bbox
33473343
3348- x0 , y0 , x1 , y1 = original_view
3349-
33503344 # zoom to rect
33513345 inverse = self .transData .inverted ()
33523346 lastx , lasty = inverse .transform_point ((lastx , lasty ))
0 commit comments