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

matplotlib: remove interpolation=nearest, none in our examples #4002

Merged
merged 2 commits into from Jul 10, 2019

Conversation

sciunto
Copy link
Member

@sciunto sciunto commented Jul 10, 2019

Description

Closes #3998

Checklist

For reviewers

  • Check that the PR title is short, concise, and will make sense 1 year
    later.
  • Check that new functions are imported in corresponding __init__.py.
  • Check that new features, API changes, and deprecations are mentioned in
    doc/release/release_dev.rst.
  • Consider backporting the PR with @meeseeksdev backport to v0.14.x

@sciunto sciunto added the 📄 type: Documentation Updates, fixes and additions to documentation label Jul 10, 2019
@sciunto sciunto added this to the 0.16 milestone Jul 10, 2019
@hmaarrfk
Copy link
Member

Does this still output warnings?

@sciunto
Copy link
Member Author

sciunto commented Jul 10, 2019

Warnings about what? I'm confused...

@hmaarrfk
Copy link
Member

I think this was added because we changed what interpolation method we used by default.

If a user runs this with 0.16.dev, will they get many deprecation warnings?

@sciunto
Copy link
Member Author

sciunto commented Jul 10, 2019

I'm still confused. Let me explain and see if it helps. Here we are talking about matplotlib. We have not decided which method to use by default (but mpl dev did). The removal of these options has no impact for users as mpl use nearest by default since a long time. they changed to this default value when they figured out that interpolating is not a good idea by default for people playing with images.

@hmaarrfk
Copy link
Member

.... good double explaining something that never needed it in the first place.

Thanks for your patience!

@jni jni merged commit 3bb78d2 into scikit-image:master Jul 10, 2019
@sciunto sciunto deleted the mpl_interpolation branch July 10, 2019 14:42
clementkng pushed a commit to clementkng/scikit-image that referenced this pull request Jul 12, 2019
…t-image#4002)

* mpl use interpolation=nearest by default. Remove this option for the sake of clarity

* replace interpolation=none by nearest (default) in gallery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📄 type: Documentation Updates, fixes and additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SKIP: remove interpolation=nearest in our examples
3 participants