8000 Merge pull request #1718 from dmcdougall/fix_set_dashes · matplotlib/matplotlib@b3f676c · GitHub
[go: up one dir, main page]

Skip to content

Commit b3f676c

Browse files
committed
Merge pull request #1718 from dmcdougall/fix_set_dashes
Fix set dashes for line collections
2 parents 02832c9 + e49f7dc commit b3f676c

File tree

5 files changed

+3206
-3
lines changed

5 files changed

+3206
-3
lines changed

lib/matplotlib/contour.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -841,9 +841,9 @@ def __init__(self, ax, *args, **kwargs):
841841
# Default zorder taken from LineCollection
842842
zorder = kwargs.get('zorder', 2)
843843
col = mcoll.LineCollection(segs,
844-
antialiaseds = aa,
845-
linewidths = width,
846-
linestyle = lstyle,
844+
antialiaseds=aa,
845+
linewidths=width,
846+
linestyle=[lstyle],
847847
6CF7 alpha=self.alpha,
848848
transform=self.get_transform(),
849849
zorder=zorder)
Binary file not shown.
Loading

0 commit comments

Comments
 (0)
0