@@ -3309,8 +3309,9 @@ def transmute(self, path, mutation_size, linewidth):
33093309 x1 , y1 = path .vertices [1 ]
33103310
33113311 # If there is no room for an arrow and a line, then skip the arrow
3312- hasBeginArrow = self .beginArrow and not ((x0 == x1 ) and (y0 == y1 ))
3313- if hasBeginArrow :
3312+ has_begin_arrow = (self .beginarrow and
3313+ not ((x0 == x1 ) and (y0 == y1 )))
3314+ if has_begin_arrow :
33143315 verticesA , codesA , ddxA , ddyA = \
33153316 self ._get_arrow_wedge (x1 , y1 , x0 , y0 ,
33163317 head_dist , cos_t , sin_t ,
@@ -3324,8 +3325,8 @@ def transmute(self, path, mutation_size, linewidth):
33243325 x3 , y3 = path .vertices [- 1 ]
33253326
33263327 # If there is no room for an arrow and a line, then skip the arrow
3327- hasEndArrow = self .endArrow and not ((x2 == x3 ) and (y2 == y3 ))
3328- if hasEndArrow :
3328+ has_end_arrow = ( self .endarrow and not ((x2 == x3 ) and (y2 == y3 ) ))
3329+ if has_end_arrow :
33293330 verticesB , codesB , ddxB , ddyB = \
33303331 self ._get_arrow_wedge (x2 , y2 , x3 , y3 ,
33313332 head_dist , cos_t , sin_t ,
@@ -3342,7 +3343,7 @@ def transmute(self, path, mutation_size, linewidth):
33423343 path .codes )]
33433344 _fillable = [False ]
33443345
3345- if hasBeginArrow :
3346+ if has_begin_arrow :
33463347 if self .fillbegin :
33473348 p = np .concatenate ([verticesA , [verticesA [0 ],
33483349 verticesA [0 ]], ])
@@ -3353,7 +3354,7 @@ def transmute(self, path, mutation_size, linewidth):
33533354 _path .append (Path (verticesA , codesA ))
33543355 _fillable .append (False )
33553356
3356- if hasEndArrow :
3357+ if has_end_arrow :
33573358 if self .fillend :
33583359 _fillable .append (True )
33593360 p = np .concatenate ([verticesB , [verticesB [0 ],
0 commit comments