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 eae165d

Browse filesBrowse files
committed
PEP8-check fixes
1 parent fff9678 commit eae165d
Copy full SHA for eae165d

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-4
lines changed

‎lib/matplotlib/tests/test_backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backend_bases.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ def test_non_gui_warning():
7878
assert len(rec) == 1
7979
assert ('Matplotlib is currently using pdf, which is a non-GUI backend'
8080
in str(rec[0].message))
81-
82-
81+
82+
8383
def test_location_event_position():
8484
# LocationEvent should cast its x and y arguments
8585
# to int unless it is None
8686
fig = plt.figure()
8787
canvas = FigureCanvasBase(fig)
88-
test_positions = [(42, 24), (None, 42), (None, None),
88+
test_positions = [(42, 24), (None, 42), (None, None),
8989
(200, 100.01), (205.75, 2.0)]
9090
for x, y in test_positions:
9191
event = LocationEvent("test_event", canvas, x, y)
@@ -99,4 +99,3 @@ def test_location_event_position():
9999
else:
100100
assert event.y == int(y)
101101
assert isinstance(event.y, int)
102-

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.