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

Skip to content

Commit e0063d3

Browse files
authored
Merge pull request #16205 from anntzer/uncompat
Deprecate the empty matplotlib.compat.
2 parents e8b2793 + a45ae10 commit e0063d3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

doc/api/next_api_changes/deprecations.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,7 @@ The ``TTFPATH`` and ``AFMPATH`` environment variables
169169
Support for the (undocumented) ``TTFPATH`` and ``AFMPATH`` environment
170170
variables is deprecated. Additional fonts may be registered using
171171
``matplotlib.font_manager.fontManager.addfont()``.
172+
173+
``matplotlib.compat``
174+
~~~~~~~~~~~~~~~~~~~~~
175+
This module is deprecated.

lib/matplotlib/compat/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from matplotlib import cbook
2+
3+
4+
cbook.warn_deprecated("3.3", name=__name__, obj_type="module")

0 commit comments

Comments
 (0)