Skip to content

Commit 577689e

Browse files
committed
Fix bug introduced in #901 and mentioned later in #929. The default behavior of pcolormesh should be to draw no edges if no edgecolors kwarg is provided.
1 parent e0fbf5d commit 577689e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/axes.py

+1
Original file line numberDiff line numberDiff line change
@@ -7202,6 +7202,7 @@ def pcolormesh(self, *args, **kwargs):
72027202
vmax = kwargs.pop('vmax', None)
72037203
shading = kwargs.pop('shading', 'flat').lower()
72047204
antialiased = kwargs.pop('antialiased', False)
7205+
kwargs.setdefault('edgecolors', 'None')
72057206

72067207
X, Y, C = self._pcolorargs('pcolormesh', *args)
72077208
Ny, Nx = X.shape

0 commit comments

Comments
 (0)