8000 Bugfix for faceted pcolor-based quadmeshes. · certik/matplotlib@7e1470f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e1470f

Browse files
committed
Bugfix for faceted pcolor-based quadmeshes.
svn path=/branches/transforms/; revision=4591
1 parent 955fa1e commit 7e1470f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/axes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4694,12 +4694,14 @@ def pcolor(self, *args, **kwargs):
46944694

46954695

46964696
if shading == 'faceted':
4697-
edgecolors = (0,0,0,1),
4697+
edgecolors = (0,0,0,1),
4698+
linewidths = (0.25,)
46984699
else:
46994700
edgecolors = 'None'
4701+
linewidths = (0.0,)
47004702
kwargs.setdefault('edgecolors', edgecolors)
47014703
kwargs.setdefault('antialiaseds', (0,))
4702-
kwargs.setdefault('linewidths', (0.25,))
4704+
kwargs.setdefault('linewidths', linewidths)
47034705

47044706
collection = mcoll.PolyCollection(verts, **kwargs)
47054707

0 commit comments

Comments
 (0)
0