Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1249ec6

Browse files
committed
updated the two functions that call _set_view_from_bbox
1 parent bf7fec9 commit 1249ec6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3074,7 +3074,7 @@ def release_zoom(self, event):
30743074
else:
30753075
continue
30763076

3077-
a._set_view_from_bbox((lastx, lasty, x, y), view, direction,
3077+
a._set_view_from_bbox((lastx, lasty, x, y), direction,
30783078
self._zoom_mode, twinx, twiny)
30793079

30803080
self.draw()

lib/matplotlib/backend_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def _release(self, event):
777777
else:
778778
continue
779779

780-
a._set_view_from_bbox((lastx, lasty, x, y), view, direction,
780+
a._set_view_from_bbox((lastx, lasty, x, y), direction,
781781
self._zoom_mode, twinx, twiny)
782782

783783
self._zoom_mode = None

0 commit comments

Comments
 (0)