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

Skip to content

Commit cfdf9ec

Browse files
committed
Fix some typos pointed out in #2026.
1 parent 85f1966 commit cfdf9ec

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

lib/matplotlib/cbook.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,12 @@ def warn_deprecated(
7878
since, message='', name='', alternative='', pending=False,
7979
obj_type='attribute'):
8080
"""
81-
Used display deprecation warning in a standard way.
81+
Used to display deprecation warning in a standard way.
8282
8383
Parameters
8484
------------
8585
since : str
86-
The release at which this API became deprecated. This is
87-
required.
86+
The release at which this API became deprecated.
8887
8988
message : str, optional
9089
Override the default deprecation message. The format

lib/matplotlib/mpl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import warnings
55
from matplotlib import cbook
66
cbook.warn_deprecated(
7-
'1.3', 'matplotlib.mpl', alterative='`import matplotlib as mpl`',
7+
'1.3', 'matplotlib.mpl', alternative='`import matplotlib as mpl`',
88
obj_type='module')
99
from matplotlib import artist
1010
from matplotlib import axis

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
2121
from matplotlib.colors import is_color_like
2222

23-
#interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'qtagg', 'qt4agg',
23+
#interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'qt4agg',
2424
# 'tkagg', 'wx', 'wxagg', 'cocoaagg', 'webagg']
2525
# The capitalized forms are needed for ipython at present; this may
2626
# change for later versions.

0 commit comments

Comments
 (0)