8000 Deprecations and housecleaning by mdboom · Pull Request #2026 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Deprecations and housecleaning #2026

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 11 commits into from
May 21, 2013
Merged
Prev Previous commit
Fix some typos pointed out in #2026.
  • Loading branch information
mdboom committed May 21, 2013
commit cfdf9ecd69aff68ac5a17d95756ba3bd4adaa0d4
5 changes: 2 additions & 3 deletions lib/matplotlib/cbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,12 @@ def warn_deprecated(
since, message='', name='', alternative='', pending=False,
obj_type='attribute'):
"""
Used display deprecation warning in a standard way.
Used to display deprecation warning in a standard way.

Parameters
------------
since : str
The release at which this API became deprecated. This is
required.
The release at which this API became deprecated.

message : str, optional
Override the default deprecation message. The format
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/mpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import warnings
from matplotlib import cbook
cbook.warn_deprecated(
'1.3', 'matplotlib.mpl', alterative='`import matplotlib as mpl`',
'1.3', 'matplotlib.mpl', alternative='`import matplotlib as mpl`',
obj_type='module')
from matplotlib import artist
from matplotlib import axis
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
from matplotlib.colors import is_color_like

#interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'qtagg', 'qt4agg',
#interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'qt4agg',
# 'tkagg', 'wx', 'wxagg', 'cocoaagg', 'webagg']
# The capitalized forms are needed for ipython at present; this may
# change for later versions.
Expand Down
0