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

Skip to content

Commit de0674b

Browse files
committed
Add API note
1 parent eb5e31a commit de0674b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

doc/api/next_api_changes/2018-02-15-AL-deprecations.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
Deprecations
22
````````````
3+
The following modules are deprecated:
4+
5+
- :mod:`matplotlib.compat.subprocess`. This was a python 2 workaround, but all the
6+
functionality can now be found in the python 3 standard library
7+
:mod:`subprocess`.
8+
39
The following functions and classes are deprecated:
410

511
- ``cbook.GetRealpathAndStat`` (which is only a helper for

lib/matplotlib/compat/subprocess.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
from matplotlib.cbook import warn_deprecated
1414
warn_deprecated(since='3.0',
1515
name='matplotlib.compat.subprocess',
16-
alternative='All the functionality provided by this module '
17-
'is available in the python 3 standard library '
18-
'"subprocess" module.',
16+
alternative='the python 3 standard library '
17+
'"subprocess" module',
1918
obj_type='module')
2019

2120
__all__ = ['Popen', 'PIPE', 'STDOUT', 'check_output', 'CalledProcessError']

0 commit comments

Comments
 (0)