Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MNT: deprecate unused numdecs LogLocator param #25651

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 3 commits into from
Apr 13, 2023

Conversation

rcomer
Copy link
Member

@rcomer rcomer commented Apr 9, 2023

PR Summary

As far as I can tell, this parameter is not used for anything.

Closes #25638

PR Checklist

Documentation and Tests

  • Has pytest style unit tests (and pytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

@oscargus
Copy link
Member

oscargus commented Apr 9, 2023

It seems like this has not been used for quite some time. However, I guess an option is to make it None per default and then use it rather than the computed numdec if set?

@QuLogic
Copy link
Member

QuLogic commented Apr 11, 2023

It was actually only removed in #24439. I could not find any other usage of it.

@tacaswell
Copy link
Member

I think we should also deprecate the public attribute. Probably means we have to run though through properties for a cycle as well.

@rcomer rcomer force-pushed the loglocator-numdecs branch 2 times, most recently from bfb28ab to d296203 Compare April 12, 2023 09:16
@rcomer rcomer force-pushed the loglocator-numdecs branch from d296203 to fe0b069 Compare April 12, 2023 19:35
@oscargus oscargus merged commit 60163b5 into matplotlib:main Apr 13, 2023
@rcomer rcomer deleted the loglocator-numdecs branch April 13, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MNT]: numdecs parameter in LogLocator
5 participants