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

Skip to content

Commit 85be822

Browse files
authored
Merge pull request #20672 from anntzer/mdw
Remove outdated parts of MatplotlibDeprecationWarning docs.
2 parents 6786f43 + 90e005e commit 85be822

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

lib/matplotlib/_api/deprecation.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,7 @@
1818

1919

2020
class MatplotlibDeprecationWarning(DeprecationWarning):
21-
"""
22-
A class for issuing deprecation warnings for Matplotlib users.
23-
24-
In light of the fact that Python builtin DeprecationWarnings are ignored
25-
by default as of Python 2.7 (see link below), this class was put in to
26-
allow for the signaling of deprecation, but via UserWarnings which are not
27-
ignored by default.
28-
29-
https://docs.python.org/dev/whatsnew/2.7.html#the-future-for-python-2-x
30-
"""
21+
"""A class for issuing deprecation warnings for Matplotlib users."""
3122

3223

3324
# mplDeprecation is deprecated. Use MatplotlibDeprecationWarning instead.

0 commit comments

Comments
 (0)