We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 070425c commit 1e36405Copy full SHA for 1e36405
lib/matplotlib/axes.py
@@ -7347,8 +7347,9 @@ def pcolor(self, *args, **kwargs):
7347
# makes artifacts that are often disturbing.
7348
if 'antialiased' in kwargs:
7349
kwargs['antialiaseds'] = kwargs.pop('antialiased')
7350
- if 'antialiaseds' not in kwargs and ec.lower() == "none":
7351
- kwargs['antialiaseds'] = False
+ if 'antialiaseds' not in kwargs and (is_string_like(ec) and
+ ec.lower() == "none"):
7352
+ kwargs['antialiaseds'] = False
7353
7354
7355
collection = mcoll.PolyCollection(verts, **kwargs)
0 commit comments