Skip to content

Commit bf230fd

Browse files
committed
PEP8
1 parent 66a4f88 commit bf230fd

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

lib/matplotlib/tests/test_path.py

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -116,28 +116,28 @@ def test_marker_paths_pdf():
116116

117117
def test_path_no_doubled_point_in_to_polygon():
118118
hand = np.array(
119-
[[ 1.64516129, 1.16145833 ],
120-
[ 1.64516129, 1.59375 ],
121-
[ 1.35080645, 1.921875 ],
122-
[ 1.375 , 2.18229167 ],
123-
[ 1.68548387, 1.9375 ],
124-
[ 1.60887097, 2.55208333 ],
125-
[ 1.68548387, 2.69791667 ],
126-
[ 1.76209677, 2.56770833 ],
127-
[ 1.83064516, 1.97395833 ],
128-
[ 1.89516129, 2.75 ],
129-
[ 1.9516129 , 2.84895833 ],
130-
[ 2.01209677, 2.76041667 ],
131-
[ 1.99193548, 1.99479167 ],
132-
[ 2.11290323, 2.63020833 ],
133-
[ 2.2016129 , 2.734375 ],
134-
[ 2.25403226, 2.60416667 ],
135-
[ 2.14919355, 1.953125 ],
136-
[ 2.30645161, 2.36979167 ],
137-
[ 2.39112903, 2.36979167 ],
138-
[ 2.41532258, 2.1875 ],
139-
[ 2.1733871 , 1.703125 ],
140-
[ 2.07782258, 1.16666667 ]])
119+
[[1.64516129, 1.16145833],
120+
[1.64516129, 1.59375],
121+
[1.35080645, 1.921875],
122+
[1.375, 2.18229167],
123+
[1.68548387, 1.9375],
124+
[1.60887097, 2.55208333],
125+
[1.68548387, 2.69791667],
126+
[1.76209677, 2.56770833],
127+
[1.83064516, 1.97395833],
128+
[1.89516129, 2.75],
129+
[1.9516129, 2.84895833],
130+
[2.01209677, 2.76041667],
131+
[1.99193548, 1.99479167],
132+
[2.11290323, 2.63020833],
133+
[2.2016129, 2.734375],
134+
[2.25403226, 2.60416667],
135+
[2.14919355, 1.953125],
136+
[2.30645161, 2.36979167],
137+
[2.39112903, 2.36979167],
138+
[2.41532258, 2.1875],
139+
[2.1733871, 1.703125],
140+
[2.07782258, 1.16666667]])
141141

142142
(r0, c0, r1, c1) = (1.0, 1.5, 2.1, 2.5)
143143

@@ -149,7 +149,6 @@ def test_path_no_doubled_point_in_to_polygon():
149149
assert np.all(poly_clipped[-1] == poly_clipped[0])
150150

151151

152-
153152
if __name__ == '__main__':
154153
import nose
155154
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 commit comments

Comments
 (0)