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

Skip to content

Commit bf96d42

Browse files
committed
Expire rename_parameter in _mathtext.
1 parent 8149752 commit bf96d42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ParseResults, QuotedString, Regex, StringEnd, Suppress, White, ZeroOrMore)
1818

1919
import matplotlib as mpl
20-
from . import _api, cbook
20+
from . import cbook
2121
from ._mathtext_data import (
2222
latex_to_bakoma, latex_to_standard, stix_glyph_fixes, stix_virtual_fonts,
2323
tex2uni)
@@ -140,7 +140,6 @@ def get_metrics(self, font, font_class, sym, fontsize, dpi, math=True):
140140
info = self._get_info(font, font_class, sym, fontsize, dpi, math)
141141
return info.metrics
142142

143-
@_api.rename_parameter("3.4", "facename", "font")
144143
def render_glyph(self, ox, oy, font, font_class, sym, fontsize, dpi):
145144
"""
146145
At position (*ox*, *oy*), draw the glyph specified by the remaining

0 commit comments

Comments
 (0)