Skip to content

Remove DeprecationWarning in simple_linear_interpolation #2100

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
May 31, 2013
Merged

Remove DeprecationWarning in simple_linear_interpolation #2100

merged 1 commit into from
May 31, 2013

Conversation

glyg
Copy link

@glyg glyg commented May 31, 2013

simple_linear_interpolation is rising a DeprecationWarning:

/usr/local/lib/python2.7/dist-packages/matplotlib-1.4.x-py2.7-linux-i686.egg/matplotlib
/cbook.py:1717: DeprecationWarning: non-integer slice parameter. In a future numpy
release, this will raise an error.
result[i::steps] = delta * i + a0

This PR is a simple fix to that, which is annoying when drawing polar plots (notably, it bloats firefox when doing this through ipython notebook)

@pelson
Copy link
Member

pelson commented May 31, 2013

👍 to be applied to v1.2.x.
Thanks @glyg.

@mdboom
Copy link
Member

mdboom commented May 31, 2013

Thanks. I will cherry-pick this to 1.3.x and 1.2.x

mdboom added a commit that referenced this pull request May 31, 2013
Remove DeprecationWarning in simple_linear_interpolation
@mdboom mdboom merged commit 78f3f6a into matplotlib:master May 31, 2013
mdboom added a commit that referenced this pull request May 31, 2013
Remove DeprecationWarning in simple_linear_interpolation
mdboom added a commit that referenced this pull request May 31, 2013
Remove DeprecationWarning in simple_linear_interpolation
@mdboom
Copy link
Member

mdboom commented May 31, 2013

1.3.x: 42301ea

1.2.x: 9877224

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