Skip to content

Commit 3503134

Browse files
committed
Fix code style issue
1 parent b8c174b commit 3503134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backend_bases.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3044,8 +3044,8 @@ def release_zoom(self, event):
30443044
# ignore singular clicks - 5 pixels is a threshold
30453045
# allows the user to "cancel" a zoom action
30463046
# by zooming by less than 5 pixels
3047-
if (abs(x - lastx) < 5 and self._zoom_mode!="y") \
3048-
or (abs(y - lasty) < 5 and self._zoom_mode!="x"):
3047+
if ((abs(x - lastx) < 5 and self._zoom_mode!="y") or
3048+
(abs(y - lasty) < 5 and self._zoom_mode!="x")):
30493049
self._xypress = None
30503050
self.release(event)
30513051
self.draw()

0 commit comments

Comments
 (0)