X Tutup
Skip to content

fix deprecation warning in simple linear interpolation#3348

Closed
aestrivex wants to merge 1 commit intomatplotlib:masterfrom
aestrivex:fix_deprecated_simple_linear_interpolation
Closed

fix deprecation warning in simple linear interpolation#3348
aestrivex wants to merge 1 commit intomatplotlib:masterfrom
aestrivex:fix_deprecated_simple_linear_interpolation

Conversation

@aestrivex
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Author

Yes it is caught by #3241 .

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

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
Copy Markdown
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

X Tutup