Skip to content

Commit 25cec22

Browse files
committed
PEP 8 fixed - patches.py
1 parent a2abc7b commit 25cec22

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/patches.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -3096,11 +3096,9 @@ def ensure_quadratic_bezier(path):
30963096
segments = list(path.iter_segments())
30973097
if (len(segments) != 2) or (segments[0][1] != Path.MOVETO) or\
30983098
(segments[1][1] != Path.CURVE3):
3099-
msg="'path' it's not a valid quadratice bezier curve"
3099+
msg = "'path' it's not a valid quadratice bezier curve"
31003100
raise ValueError(msg)
31013101

3102-
3103-
31043102
return list(segments[0][0]) + list(segments[1][0])
31053103

31063104
def transmute(self, path, mutation_size, linewidth):

0 commit comments

Comments
 (0)