Fix warning when setting markeredgecolor to a numpy array #7657

Merged
merged 1 commit into from Dec 21, 2016

Conversation

Projects
None yet
3 participants
Contributor

dstansby commented Dec 21, 2016

If self._markeregecolor is set to None, when ec is a numpy array it is compared to None. Avoid this comparison by always setting self.stale = True if self._markeredgecolor == None.

Fixes #6480

@dstansby dstansby Fix warning when setting markeredgecolor to a numpy array
3a4a6f0

tacaswell added this to the 2.1 (next point release) milestone Dec 21, 2016

@QuLogic QuLogic merged commit 48d50fc into matplotlib:master Dec 21, 2016

2 of 3 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 62.074%
Details

dstansby deleted the dstansby:markeredgecolor-warning branch Dec 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment