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

Deprecations and housecleaning #2026

Merged
merged 11 commits into from May 21, 2013
Merged

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented May 20, 2013

This PR ties up a number of related issues:

This also brings over a helper function and decorator originally written by @iguananaut for the astropy project that makes it easier to mark functions as deprecated. This also unifies the interface for deprecated things and makes it easier to search later for things that are due for removal (that should make this kind of PR a little easier next time).

@@ -24,7 +24,7 @@
#### CONFIGURATION BEGINS HERE

# the default backend; one of GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo
# CocoaAgg FltkAgg MacOSX QtAgg Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS
# CocoaAgg FltkAgg MacOSX Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS
Copy link
Member

Choose a reason for hiding this comment

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

FltkAgg is also removed, so it needs to be deleted from this comment.

@efiring
Copy link
Member

efiring commented May 20, 2013

Wow! Thanks for putting all that together. It looks like the test failure with 2.6 is completely unrelated.

since, message='', name='', alternative='', pending=False,
obj_type='attribute'):
"""
Used display deprecation warning in a standard way.
Copy link
Member

Choose a reason for hiding this comment

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

Missing to.

@pelson
Copy link
Member

pelson commented May 21, 2013

@mdboom - I've added a couple of trivial actions. If you just add a commit on top of 85f1966 (or alternatively ammend the last commit, leaving 3dab377 static) I'd be happy to merge this ASAP. This will conflict with #2011 but given the size of this PR, I'm happy to have to resolve that conflict in my PR.

Awesome! I think this is the best PR I've seen on mpl - I'm a big fan of deleting code 😄

pelson added a commit that referenced this pull request May 21, 2013
Major deprecations and housecleaning for v1.3
@pelson pelson merged commit 3586394 into matplotlib:master May 21, 2013
@mdboom mdboom deleted the deprecations-pre-13 branch August 7, 2014 13:52
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.

None yet

3 participants