8000 Re-add a deprecated cbook.deprecation module for backward compatibility · matplotlib/matplotlib@b4220c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit b4220c3

Browse files
committed
Re-add a deprecated cbook.deprecation module for backward compatibility
1 parent 01910b5 commit b4220c3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
``matplotlib.cbook.deprecation`` is deprecated
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The module is considered internal and will be removed from the public API.

lib/matplotlib/cbook/deprecation.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from matplotlib._api.deprecation import *
2+
3+
warn_deprecated("3.4",
4+
"The module matplotlib.cbook.deprecation is considered "
5+
"internal and it will be made private in the future.")

0 commit comments

Comments
 (0)
0