Skip to content

Commit 9ce5ca4

Browse files
author
Bill Janssen
committed
fix #38
1 parent a9baeff commit 9ce5ca4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

backend_kivy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def get_graphics(self, gc, polygons, points_line, rgbFace, closed=False):
553553
mode=str("triangle_fan")
554554
))
555555
instruction_group.add(Color(*gc.get_rgb()))
556-
if _mpl_ge_1_5 and not _mpl_ge_2_0 and closed:
556+
if _mpl_ge_1_5 and (not _mpl_ge_2_0) and closed:
557557
points_poly_line = points_line[:-2]
558558
else:
559559
points_poly_line = points_line
@@ -562,7 +562,7 @@ def get_graphics(self, gc, polygons, points_line, rgbFace, closed=False):
562562
width=int(gc.line['width'] / 2),
563563
dash_length=gc.line['dash_length'],
564564
dash_offset=gc.line['dash_offset'],
565-
dash_joint=gc.line['joint_style'],
565+
dash_joint=gc.line['join_style'],
566566
dash_list=gc.line['dash_list']))
567567
return instruction_group
568568

@@ -944,7 +944,7 @@ def __init__(self, renderer):
944944
super(GraphicsContextKivy, self).__init__()
945945
self.renderer = renderer
946946
self.line['cap_style'] = self.get_capstyle()
947-
self.line['joint_style'] = self.get_joinstyle()
947+
self.line['join_style'] = self.get_joinstyle()
948948
self.line['dash_offset'] = None
949949
self.line['dash_length'] = None
950950
self.line['dash_list'] = []

0 commit comments

Comments
 (0)