Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b3be888

Browse filesBrowse files
committed
E501 check
1 parent a20f6e1 commit b3be888
Copy full SHA for b3be888

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.