Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit de0674b

Browse filesBrowse files
committed
Add API note
1 parent eb5e31a commit de0674b
Copy full SHA for de0674b

File tree

Expand file treeCollapse file tree

2 files changed

+8
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+8
-3
lines changed

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

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2018-02-15-AL-deprecations.rst
+6Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/compat/subprocess.py
+2-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.