Skip to content

Commit 1b3a180

Browse files
committed
Fixed pep8 warnings that caused Travis-CI to fail
1 parent 9c49c6a commit 1b3a180

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/tests/test_widgets.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def onselect(epress, erelease):
9090

9191
if kwargs.get('drawtype', None) not in ['line', 'none']:
9292
assert_allclose(tool.geometry,
93-
[[100., 100, 199, 199, 100],
93+
[[100., 100, 199, 199, 100],
9494
[100, 199, 199, 100, 100]],
9595
err_msg=tool.geometry)
9696

@@ -120,7 +120,7 @@ def onselect(epress, erelease):
120120
# drag the rectangle
121121
do_event(tool, 'press', xdata=10, ydata=10, button=1,
122122
key=' ')
123-
123+
124124
do_event(tool, 'onmove', xdata=30, ydata=30, button=1)
125125
do_event(tool, 'release', xdata=30, ydata=30, button=1)
126126
assert tool.extents == (120, 170, 120, 170)
@@ -453,4 +453,3 @@ def test_polygon_selector():
453453
+ polygon_place_vertex(50, 150)
454454
+ polygon_place_vertex(50, 50))
455455
check_polygon_selector(event_sequence, expected_result, 1)
456-

0 commit comments

Comments
 (0)