Skip to content

Commit a45ae10

Browse files
committed
Deprecate the empty matplotlib.compat.
If we ever need something like it again we'll likely make the compat shims private anyways...
1 parent 5914990 commit a45ae10

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)