Skip to content

fix deprecation warning in simple linear interpolation #3348

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

Conversation

aestrivex
Copy link

Using floats as a shape argument to np.zeros or other numpy functions prints a deprecation warning ("using a non-integer number instead of an integer will result in an error in the future") as of numpy 1.8.

@tacaswell
Copy link
Member

There are several other PRs that address similar issues (#3235 , #3224 , #3244 and others that are tagged as 1.4.x). Can you please make sure that this isn't a duplicate effort?

@tacaswell tacaswell added this to the v1.4.x milestone Aug 6, 2014
@jenshnielsen
Copy link
Member

I think that the warning is fixed by #3241 too.

The combination of #3241, #3244 #3309 #3282 and #3291 should silence all warnings in the test suite when merged.

@aestrivex
Copy link
Author

Yes it is caught by #3241 .

@aestrivex aestrivex closed this Aug 7, 2014
@argriffing
Copy link

The combination of #3241, #3244 #3309 #3282 and #3291 should silence all warnings in the test suite when merged.

Matplotlib should just never merge these, as a honeypot to attract even more first-time PR contributors.

@tacaswell
Copy link
Member

@argriffing That made me laugh. They will be merged once we have 1.4.0 released.

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.

5 participants