Skip to content

Commit

Permalink
updated the two functions that call _set_view_from_bbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmlhermitte committed Sep 30, 2015
1 parent bf7fec9 commit 1249ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/matplotlib/backend_bases.py
Expand Up @@ -3074,7 +3074,7 @@ def release_zoom(self, event):
else:
continue

a._set_view_from_bbox((lastx, lasty, x, y), view, direction,
a._set_view_from_bbox((lastx, lasty, x, y), direction,
self._zoom_mode, twinx, twiny)

self.draw()
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/backend_tools.py
Expand Up @@ -777,7 +777,7 @@ def _release(self, event):
else:
continue

a._set_view_from_bbox((lastx, lasty, x, y), view, direction,
a._set_view_from_bbox((lastx, lasty, x, y), direction,
self._zoom_mode, twinx, twiny)

self._zoom_mode = None
Expand Down

0 comments on commit 1249ec6

Please sign in to comment.