Skip to content

Commit f86cfb2

Browse files
committed
Remove get_texmanager
1 parent f7576ff commit f86cfb2

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
)
@@ -211,13 +211,6 @@ def get_glyphs_mathtext(self, prop, s, glyph_map=None,
211211
return (list(zip(glyph_ids, xpositions, ypositions, sizes)),
212212
glyph_map_new, myrects)
213213

214-
@_api.deprecated("3.6", alternative="TexManager()")
215-
def get_texmanager(self):
216-
"""Return the cached `~.texmanager.TexManager` instance."""
217-
if self._texmanager is None:
218-
self._texmanager = TexManager()
219-
return self._texmanager
220-
221214
def get_glyphs_tex(self, prop, s, glyph_map=None,
222215
return_new_glyphs_only=False):
223216
"""Convert the string *s* to vertices and codes using usetex mode."""

0 commit comments

Comments
 (0)