Skip to content

Fix warning when setting markeredgecolor to a numpy array #7657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2016

Conversation

dstansby
Copy link
Member

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

@tacaswell 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
@dstansby dstansby deleted the markeredgecolor-warning branch December 22, 2016 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants