Thanks to visit codestin.com
Credit goes to github.com

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 0 deletions
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)