8000 Fixes bug where linestyle always appears solid if linewidth is large … · matplotlib/matplotlib@2f3f7e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f3f7e6

Browse files
committed
Fixes bug where linestyle always appears solid if linewidth is large enough
1 parent 9bb698a commit 2f3f7e6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def set_linestyle(self, style):
942942
'dotted' : (0, (1.0, 3.0)),
943943
"""
944944

945-
if style in self.dashd.keys():
945+
if style in self.dashd:
946946
offset, dashes = self.dashd[style]
947947
elif isinstance(style, tuple):
948948
offset, dashes = style

lib/matplotlib/patches.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ def draw(self, renderer):
414414

415415
gc.set_antialiased(self._antialiased)
416416
self._set_gc_clip(gc)
417-
gc.set_capstyle('projecting')
418417
gc.set_url(self._url)
419418
gc.set_snap(self.get_snap())
420419

0 commit comments

Comments
 (0)
0