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

Skip to content

Commit c8fd78d

Browse files
committed
Remove get_texmanager
1 parent 0b04c7d commit c8fd78d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/matplotlib/textpath.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import numpy as np
66

7-
from matplotlib import _api, _text_helpers, dviread
7+
from matplotlib import _text_helpers, dviread
88
from matplotlib.font_manager import (
99
FontProperties, get_font, fontManager as _fontManager
1010
)
@@ -215,13 +215,6 @@ def get_glyphs_mathtext(self, prop, s, glyph_map=None,
215215
return (list(zip(glyph_ids, xpositions, ypositions, sizes)),
216216
glyph_map_new, myrects)
217217

218-
@_api.deprecated("3.6", alternative="TexManager()")
219-
def get_texmanager(self):
220-
"""Return the cached `~.texmanager.TexManager` instance."""
221-
if self._texmanager is None:
222-
self._texmanager = TexManager()
223-
return self._texmanager
224-
225218
def get_glyphs_tex(self, prop, s, glyph_map=None,
226219
return_new_glyphs_only=False):
227220
"""Convert the string *s* to vertices and codes using usetex mode."""

0 commit comments

Comments
 (0)