X Tutup
Skip to content

Fix warning when setting markeredgecolor to a numpy array#7657

Merged
QuLogic merged 1 commit intomatplotlib:masterfrom
dstansby:markeredgecolor-warning
Dec 21, 2016
Merged

Fix warning when setting markeredgecolor to a numpy array#7657
QuLogic merged 1 commit intomatplotlib:masterfrom
dstansby:markeredgecolor-warning

Conversation

@dstansby
Copy link
Copy Markdown
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

X Tutup