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

Skip to content

Commit b3be888

Browse files
committed
E501 check
1 parent a20f6e1 commit b3be888

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,8 +1365,10 @@ def __init__(self, name, canvas, x, y, guiEvent=None):
13651365
*x*, *y* in figure coords, 0,0 = bottom, left
13661366
"""
13671367
Event.__init__(self, name, canvas, guiEvent=guiEvent)
1368-
self.x = int(x) if x is not None else 0 # x position - pixels from left of canvas
1369-
self.y = int(y) if y is not None else 0 # y position - pixels from right of canvas
1368+
# x position - pixels from left of canvas
1369+
self.x = int(x) if x is not None else 0
1370+
# y position - pixels from right of canvas
1371+
self.y = int(y) if y is not None else 0
13701372
self.inaxes = None # the Axes instance if mouse us over axes
13711373
self.xdata = None # x coord of mouse in data coords
13721374
self.ydata = None # y coord of mouse in data coords

0 commit comments

Comments
 (0)