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 90e005e

Browse filesBrowse files
committed
Remove outdated parts of MatplotlibDeprecationWarning docs.
It doesn't inherit from UserWarning anymore, but from DeprecationWarning.
1 parent 57489bf commit 90e005e
Copy full SHA for 90e005e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-10
lines changed

‎lib/matplotlib/_api/deprecation.py

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