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

Skip to content

Commit eae165d

Browse files
committed
PEP8-check fixes
1 parent fff9678 commit eae165d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/tests/test_backend_bases.py

Lines 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)