| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| kwargs['antialiaseds'] = False | ||
|
|
||
| collection = mcoll.PolyCollection(verts, **kwargs) | ||
| collection = mcoll.PolyCollection(verts, snap=False, **kwargs) |
There was a problem hiding this comment.
[MEDIUM] Calling pcolor with a snap keyword argument now raises TypeError
IssueThe explicit snap=False before **kwargs collides with any caller-supplied snap: ax.pcolor(X, Y, C, snap=True) previously forwarded snap to PolyCollection and now raises TypeError: PolyCollection() got multiple values for keyword argument 'snap'.
EvidenceSUSPECTED: A test calling ax.pcolor(x, y, C, snap=True) and expecting a returned collection would settle it; the TypeError is forced by Python whenever kwargs holds 'snap', but earlier code in pcolor may pop it before this line.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
SWRBench case matplotlib__matplotlib-2726: pinned base 45f5c45 to head e586c09 of matplotlib#2726. Benchmark replay, not for merge.