8000 Fix tripcolor with shading='faceted' · matplotlib/matplotlib@d9dbe66 · GitHub
[go: up one dir, main page]

Skip to content
65F9

Commit d9dbe66

Browse files
cgohlkedmcdougall
authored andcommitted
Fix tripcolor with shading='faceted'
In this case `edgecolors` is mistakenly set to a tuple `'k',` such that the following `ec.lower()` statement will fail with an `AttributeError`.
1 parent 0f8bfe1 commit d9dbe66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tri/tripcolor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def tripcolor(ax, *args, **kwargs):
9393
kwargs.setdefault('linewidths', linewidths)
9494

9595
if shading == 'faceted': # Deprecated.
96-
edgecolors = 'k',
96+
edgecolors = 'k'
9797
else:
9898
edgecolors = 'none'
9999
if 'edgecolor' in kwargs:

0 commit comments

Comments
 (0)
0