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

Skip to content

Commit 58154f3

Browse files
committed
API: shift deprecation of TempCache class to 3.0
The changes to not use this were reverted on the 2.2.x branch.
1 parent d20257c commit 58154f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/api/next_api_changes/2018-02-15-AL-deprecations.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The following classes, methods, and functions are deprecated:
1515
- ``container.Container.set_remove_method``,
1616
- ``mathtext.unichr_safe`` (use ``chr`` instead),
1717
- ``texmanager.dvipng_hack_alpha``,
18+
- ``font_manager.TempCache``,
1819

1920
The following rcParams are deprecated:
2021
- ``pgf.debug`` (the pgf backend relies on logging),

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ def _normalize_font_family(family):
926926
return family
927927

928928

929-
@cbook.deprecated("2.2")
929+
@cbook.deprecated("3.0")
930930
class TempCache(object):
931931
"""
932932
A class to store temporary caches that are (a) not saved to disk

0 commit comments

Comments
 (0)