Skip to content

insert deprecation warning for set_graylevel - #3812

Merged
tacaswell merged 2 commits into
matplotlib:masterfrom
jbmohler:deprecate_graylevel
Nov 21, 2014
Merged

tacaswell merged 2 commits into
matplotlib:masterfrom
jbmohler:deprecate_graylevel

Conversation

@jbmohler

Copy link
Copy Markdown
Contributor

Pursuant to comments in #3683 , this is a deprecation warning for set_graylevel in the backends.

  • it is not used (aside from the inheritance chain calls)
  • it has never been used according to git history
  • it delivers functionality which is trivial to attain other ways

@tacaswell

Copy link
Copy Markdown
Member

@mdboom Do we add an entry to api_changes when we slate stuff for removal? If not, we probably should.

@tacaswell tacaswell added this to the v1.5.x milestone Nov 18, 2014
@tacaswell tacaswell added status: needs review API: changes Changes to the public API, typically requiring deprecation. labels Nov 18, 2014
@tacaswell

Copy link
Copy Markdown
Member

👍 On this modulo documentation from me

@mdboom

mdboom commented Nov 18, 2014

Copy link
Copy Markdown
Member

Yes -- I think we should an entry into api_changes.rst for this, under a new heading "Changes in 1.5.x". Thanks for doing this, @jbmohler. Removing unused code is always a good thing.

@jbmohler

Copy link
Copy Markdown
Contributor Author

yep, the programming days I'm happiest is when my net lines of code is negative!

@tacaswell

Copy link
Copy Markdown
Member

Can you put it in it's own file in the api_changes folder? This is a scheme to reduce doc-conflict caused rebases.

@jbmohler
jbmohler force-pushed the deprecate_graylevel branch from 0e747c8 to d1fd40c Compare November 19, 2014 09:16
@jbmohler

Copy link
Copy Markdown
Contributor Author

@tacaswell that's a good idea. I took the opportunity to clarify my grammar as well.

tacaswell added a commit that referenced this pull request Nov 21, 2014
API : insert deprecation warning for set_graylevel
@tacaswell
tacaswell merged commit 0656436 into matplotlib:master Nov 21, 2014
@jbmohler
jbmohler deleted the deprecate_graylevel branch November 22, 2014 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API: changes Changes to the public API, typically requiring deprecation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants