Skip to content
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

Make sure _edgecolors is a string before comparison to string. #4925

Merged
merged 1 commit into from Aug 15, 2015

Conversation

jenshnielsen
Copy link
Member

Fixes numpy deprecation warning raised in numpy 1.10 beta

Comparing a numpy array to a string will return an array in future numpy versions breaking these if statements.

Fixes numpy deprecation warning. Comparing a numpy array to a string
will return an array in future numpy versions
tacaswell added a commit that referenced this pull request Aug 15, 2015
MNT: Make sure _edgecolors is a string before comparison to string.
@tacaswell tacaswell merged commit 114a38a into matplotlib:master Aug 15, 2015
@jenshnielsen jenshnielsen deleted the numpydeprecation branch August 20, 2015 12:42
@amueller
Copy link
Contributor

amueller commented Nov 4, 2015

This is not in 1.5, is it? It would be awesome to have ;)

@jenshnielsen
Copy link
Member Author

It should be 1.5 was branched from master after this was merged and it is on the 1.5.x branch https://github.com/matplotlib/matplotlib/blob/v1.5.x/lib/matplotlib/collections.py#L624

@QuLogic QuLogic added this to the v1.5.0 milestone Nov 4, 2015
@amueller
Copy link
Contributor

amueller commented Nov 4, 2015

Ah, never mind. I messed up my environment by trying to pip install into a conda env. Sorry for the noise.

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.

None yet

4 participants