Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 577689e

Browse files
committed
Fix bug introduced in matplotlib#901 and mentioned later in matplotlib#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‎

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)

AltStyle によって変換されたページ (->オリジナル) /