X Tutup
Skip to content

Deprecate unused functions in cbook.#7568

Merged
QuLogic merged 1 commit intomatplotlib:masterfrom
anntzer:deprecate-unused-cbook
Dec 19, 2016
Merged

Deprecate unused functions in cbook.#7568
QuLogic merged 1 commit intomatplotlib:masterfrom
anntzer:deprecate-unused-cbook

Conversation

@anntzer
Copy link
Copy Markdown
Contributor

@anntzer anntzer commented Dec 5, 2016

I think most of the deprecations I propose should be pretty uncontroversial, but feel free to argue otherwise. Let's see whether we can work on reducing the old API...

@anntzer anntzer force-pushed the deprecate-unused-cbook branch 5 times, most recently from c88c2a4 to 229cfc3 Compare December 5, 2016 09:20
return ret


@deprecated('2.0')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one should be use in the pandas support code...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Dec 5, 2016
@tacaswell
Copy link
Copy Markdown
Member

Given that we just did an rc without these, I think they should target 2.1 instead of 2.0.

@NelleV
Copy link
Copy Markdown
Member

NelleV commented Dec 5, 2016

I actually think that everything currently tagged 2.0.1 that isn't a major bug should target 2.1

@dopplershift
Copy link
Copy Markdown
Contributor

@NelleV Agree, except scratch the work 'major'. Any bugfix should target the next bugfix release.

@anntzer
Copy link
Copy Markdown
Contributor Author

anntzer commented Dec 5, 2016

Sounds fair.

@anntzer anntzer force-pushed the deprecate-unused-cbook branch from 229cfc3 to 33c6d92 Compare December 5, 2016 19:03
@anntzer anntzer force-pushed the deprecate-unused-cbook branch from 33c6d92 to d85e2b7 Compare December 5, 2016 21:22
@NelleV NelleV changed the title Deprecate unused functions in cbook. [MRG+1] Deprecate unused functions in cbook. Dec 19, 2016
@NelleV
Copy link
Copy Markdown
Member

NelleV commented Dec 19, 2016

This is long overdue… Thanks for tackling this @anntzer !



@deprecated('2.1')
def soundex(name, len=4):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What in the world did we need this for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dates back to e34a333 (Sept 2004!). Presumably John used this for something....

@QuLogic QuLogic changed the title [MRG+1] Deprecate unused functions in cbook. Deprecate unused functions in cbook. Dec 19, 2016
@QuLogic QuLogic merged commit a15d5c8 into matplotlib:master Dec 19, 2016
@anntzer anntzer deleted the deprecate-unused-cbook branch December 20, 2016 11:03
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